Resolved FindBugs issues.
Mostly usage of ...valueOf(...) instead of calling a constructor but also some serious issues.
Authored by: keess 2009-02-09
Parent: [r2207]
Child: [r2209]