Fixed Java 7 compile issue