ENG-6942: Only Java 6 syntax in the client library.