Created
October 27, 2010 01:02
-
-
Save tlockney/648186 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tlockney@mammoth ~/tmp/override $ javac *.java | |
Sub.java:2: method does not override or implement a method from a supertype | |
@Override | |
^ | |
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Sub extends Super { | |
@Override | |
public void foo(java.util.Map<Object,Object> bar) {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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