method duplicates: qualify match in order to prevent name conflict ( IDEA-24764 )

This commit is contained in:
anna
2010-05-26 13:28:38 +04:00
parent 834674b03b
commit 6806c16bfd
8 changed files with 137 additions and 6 deletions
@@ -0,0 +1,17 @@
class Test {
public Foo createFoo() {
return new Foo() {
public void bar() {
bar(1);
}
};
}
public void bar(int i) {
System.out.println(i);
}
public interface Foo {
void bar();
}
}