Changed source version to Java 7