Updating to Java 7 syntax, project was started with jdk 6