From 4c54779a59f1367b195e04efb429e8c1a572fea8 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 24 Sep 2014 16:35:41 +0200 Subject: [PATCH] PurityInferenceFromSourceTest: make constructor really side-effectful --- .../codeInspection/PurityInferenceFromSourceTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/PurityInferenceFromSourceTest.groovy b/java/java-tests/testSrc/com/intellij/codeInspection/PurityInferenceFromSourceTest.groovy index 2e6ad00aba4c..8b15c5835340 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/PurityInferenceFromSourceTest.groovy +++ b/java/java-tests/testSrc/com/intellij/codeInspection/PurityInferenceFromSourceTest.groovy @@ -142,7 +142,7 @@ public Foo() { return new Example1(); } - private int created = 0; + private static int created = 0; Example1() { created++;