Removed accidental java 8 code