Removed assumed java 7 only syntax