Skip to content

Instantly share code, notes, and snippets.

@tlockney
Created October 27, 2010 01:02
Show Gist options
  • Save tlockney/648186 to your computer and use it in GitHub Desktop.
Save tlockney/648186 to your computer and use it in GitHub Desktop.
tlockney@mammoth ~/tmp/override $ javac *.java
Sub.java:2: method does not override or implement a method from a supertype
@Override
^
1 error
class Sub extends Super {
@Override
public void foo(java.util.Map<Object,Object> bar) {}
}
class Super {
public void foo(java.util.Map bar) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment