mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
introduce field: avoid dbl setup creation when no annotation present (IDEA-76926)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import org.junit.*;
|
||||
public class T {
|
||||
private int i;
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
}
|
||||
|
||||
@Before
|
||||
public void setUp(){
|
||||
i = 9;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import org.junit.*;
|
||||
public class T {
|
||||
@Test
|
||||
public void test() {
|
||||
int <caret>i = 9;
|
||||
}
|
||||
|
||||
public void setUp(){}
|
||||
}
|
||||
Reference in New Issue
Block a user