mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
move initializer to setup: should work when setup method is there (IDEA-171236)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Move initializer to setUp method" "true"
|
||||
public class X {
|
||||
int i;
|
||||
|
||||
@org.junit.Before
|
||||
public void setUp() throws Exception {
|
||||
|
||||
i = 7;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Move initializer to setUp method" "true"
|
||||
public class X {
|
||||
<caret>int i = 7;
|
||||
|
||||
@org.junit.Before
|
||||
public void setUp() throws Exception {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user