Removed Java 7 syntax