Created
April 26, 2010 11:19
-
-
Save wabu/379218 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
// class that sould be affected | |
class A { | |
private void foo() | |
} | |
class B { | |
void bar() { | |
new A().foo(); // error, not public | |
// use :JavaCorrect here | |
// select make foo public | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment