removed Java 7 dependencies