modified to compile to java 6

just changed source/target to 1.6 and removed diamond operator