remove unused java 7 reference