Re: [SANSELAN] Fixing test case Eclipse warnings

2010-09-17 Thread Henri Yandell
Sounds like a good idea to me. On Fri, Sep 17, 2010 at 7:40 AM, Charles Matthew Chen wrote: >   Thanks for the perspective Hen.  It sounds like good advice. > >   I do think there would be a benefit to hitting control-f (ie. > autoformat) once for the whole project; its pretty messy now.  I'm > c

Re: [SANSELAN] Fixing test case Eclipse warnings

2010-09-17 Thread Charles Matthew Chen
Thanks for the perspective Hen. It sounds like good advice. I do think there would be a benefit to hitting control-f (ie. autoformat) once for the whole project; its pretty messy now. I'm completely agnostic to which code style we use. Perhaps Eclipse's autoformatter's default setting wou

Re: [SANSELAN] Fixing test case Eclipse warnings

2010-09-16 Thread Henri Yandell
Not that I know - it's a classic way to start an argument :) General rules (of open source) are: * Adhere to the style of the file you're editing. * Don't commit sweeping reformatting with any other modification. * Don't impose your editor on others. * Just do it; aka 'at the end of the day we're

Re: [SANSELAN] Fixing test case Eclipse warnings

2010-09-13 Thread Charles Matthew Chen
Great, Sebb. On a related note, I'm tempted to standardize the code formatting of the entire project using something like Eclipse's autoformat feature. Is there a preferred code standard for Apache code? Better yet, is there a pre-existing settings file for Eclipse's autoformat? Charles Mat

Re: [SANSELAN] Fixing test case Eclipse warnings

2010-09-09 Thread sebb
On 9 September 2010 20:56, Charles Matthew Chen wrote: >   Sebb, please feel free to clean up warnings, etc. in Sanselan. > There's tons of code clean up that I'd like to do if I ever have time. OK, thanks. I've now fixed the more obvious warnings. There are still a lot of unthrown Exceptions,

Re: [SANSELAN] Fixing test case Eclipse warnings

2010-09-09 Thread Charles Matthew Chen
Sebb, please feel free to clean up warnings, etc. in Sanselan. There's tons of code clean up that I'd like to do if I ever have time. +1 to have more active committers on Sanselan. Charles Matthew On Wed, Sep 8, 2010 at 1:48 PM, Matt Benson wrote: > For my part, I should think the commun

Re: [SANSELAN] Fixing test case Eclipse warnings

2010-09-08 Thread Matt Benson
For my part, I should think the community would be glad for someone in addition to Charles to have his hands in sanselan. -Matt On Sep 8, 2010, at 11:37 AM, sebb wrote: > There are quite a few Eclipse warnings in the Sanselan test code. > > For example, test cases that declare impossible Excep

[SANSELAN] Fixing test case Eclipse warnings

2010-09-08 Thread sebb
There are quite a few Eclipse warnings in the Sanselan test code. For example, test cases that declare impossible Exceptions. Also potential null pointer exceptions that can be fixed either by: - changing assertTrue(null != value) to assertNotNull(value) - or by explicitly checking for null Any o