mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
visibility inspection: forbid make protected if used qualified outside package (IDEA-166106)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems/>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import a.A;
|
||||
class ThisClass extends A {
|
||||
private void foo(A aa) {
|
||||
System.out.println(aa.constanta);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package a;
|
||||
public class A {
|
||||
public int constanta = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user