minor code fixes (on generics), javadocs updated
java -source & -target are set to 1.5