Not a correction but just an observation: classes like this one force using Java 7 or later.