Russo
unread,Jun 9, 2009, 9:32:06 AM6/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DBJMIN
Hello Fellows, I am the janitor. I wash the shit away.
Right now, the shit is coming in the form of hundreds of warnings of
'raw type' when using parameterized types such as List or ArrayList.
Speaking of lists, the best practice tells us to always declare the
variable using the interface type, and construct using the concrete
type, e.g.:
List<String> myList = new ArrayList<String>();
There's a huge number of declarations of variables of the type
ArrayList, and that should be avoided, if nothing else, for the sake
of elegance.
I realize that some of the database drivers and JDBC APIs still use
raw types, so we can't simply replace everything, but I'll try to
replace these declarations whenever it's possible, one at a time, and
make small commits, for each piece.
Also, I'd like to run the Eclipse formatter on the whole source code
tree. Do you have any problems with that?
At some point, I intend to come with a build.xml for ANT, and we can
start thinking about automating builds (nightly builds?)
Cheers,
Russo