J2K: convert protected member used outside of inheritors as public
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package test2;
|
||||
|
||||
import test.*;
|
||||
|
||||
public class DerivedOtherPackage extends BaseOtherPackage {
|
||||
public void usage1() {
|
||||
BaseOtherPackage base = new BaseOtherPackage();
|
||||
base.foo();
|
||||
int i = base.i;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user