Fix Incompatibility with JDK5 source level

@Override is not allowed when implementing an interface method
Merge pull request #1025 from marcphilipp/fix-jdk5-incompatibility

Fix Incompatibility with JDK5 source level