Use Java 7 language syntax when compiling.
Merge pull request #9 from DavidWhitlock/java-7

Use Java 7 language syntax when compiling.