Compilation errors with Java 7

maven-stapler-plugin fails to compile with Java 7, here is a patch fixing this issue (the patch was written by James Pages for the maven-stapler-plugin Debian package)