Target JDK 1.7
Convert code to JDK 1.7 syntax.