fix DataFlowInspectionTest

This commit is contained in:
peter
2017-03-20 16:42:50 +01:00
parent a667131b4c
commit b4f3d9d54e
2 changed files with 2 additions and 2 deletions
@@ -5,6 +5,6 @@ class Example {
public static final String THIRD = FIRST + SECOND;
public static void main(String[] args) {
System.out.println(THIRD == "fd");
System.out.println(<warning descr="Condition 'THIRD == \"fd\"' is always 'true'">THIRD == "fd"</warning>);
}
}
@@ -95,7 +95,7 @@ public class DataFlowInspectionTest extends DataFlowInspectionTestCase {
public void testCheckEnumConstantConstructor() { doTest(); }
public void testCompareToEnumConstant() throws Throwable { doTest(); }
public void testEqualsConstant() throws Throwable { doTest(); }
public void testInternedStringConstants() throws Throwable { doTest(); }
public void testInternedStringConstants() { doTest(); }
public void testDontSaveTypeValue() { doTest(); }
public void testFinalLoopVariableInstanceof() throws Throwable { doTest(); }
public void testGreaterIsNotEquals() throws Throwable { doTest(); }