Ensure is Java 1.5 compliant