mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
PurityInferenceFromSourceTest: make constructor really side-effectful
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ public Foo() {
|
||||
return new Example1();
|
||||
}
|
||||
|
||||
private int created = 0;
|
||||
private static int created = 0;
|
||||
|
||||
Example1() {
|
||||
created++;
|
||||
|
||||
Reference in New Issue
Block a user