initialize in setup: add field initialization instead of variable declaration (IDEA-62451)

This commit is contained in:
anna
2010-12-08 12:40:10 +03:00
parent 19ccd895cb
commit cb7ccebc23
4 changed files with 40 additions and 1 deletions
@@ -0,0 +1,14 @@
import junit.framework.TestCase;
public class T extends TestCase {
public void setUp() throws Exception {
String na<caret>me = getName();
myName = " second " + name;
}
public void test() throws Exception {
}
private String getName() {
return null;
}
}