do not warn about visibility of interface methods: they are public

This commit is contained in:
anna
2012-11-30 21:01:28 +01:00
parent c5139a762a
commit 0a0d3b6906
8 changed files with 41 additions and 2 deletions
@@ -0,0 +1,4 @@
package a;
public interface I {
void foo();
}
@@ -0,0 +1,2 @@
package a;
public interface I1 extends I {}
@@ -0,0 +1,7 @@
package b;
import a.*;
class B {
void f(I1 i1) {
i1.foo();
}
}