removed Java 7 syntax for cobertura error