mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-dfa] Obsolete disabled test removed
GitOrigin-RevId: 9ad982b934c1f100bed7e84a330d0f2a803dde0d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c449c341b7
commit
2b2b8c3e88
@@ -1,24 +0,0 @@
|
||||
class Doo {
|
||||
final Object finalField;
|
||||
Object mutableField;
|
||||
|
||||
Foo(Object finalField) {
|
||||
this.finalField = finalField;
|
||||
}
|
||||
|
||||
Object method() { return new Object(); }
|
||||
|
||||
public void foo(final Object o) {
|
||||
if (o != null && o instanceof String) {}
|
||||
if (finalField != null && o instanceof String) {}
|
||||
if (finalField != null) {
|
||||
if (finalField instanceof String) {}
|
||||
}
|
||||
if (finalField != null) {
|
||||
if (finalField instanceof String) {}
|
||||
System.out.println();
|
||||
}
|
||||
if (mutableField != null && mutableField instanceof String) {}
|
||||
if (method() != null && method() instanceof String) {}
|
||||
}
|
||||
}
|
||||
@@ -467,8 +467,6 @@ public class DataFlowInspectionTest extends DataFlowInspectionTestCase {
|
||||
assertNotEmpty(myFixture.filterAvailableIntentions("Introduce variable"));
|
||||
}
|
||||
|
||||
public void _testNullCheckBeforeInstanceof() { doTest(); } // https://youtrack.jetbrains.com/issue/IDEA-113220
|
||||
|
||||
public void testConstantConditionsWithAssignmentsInside() { doTest(); }
|
||||
public void testIfConditionsWithAssignmentInside() { doTest(); }
|
||||
public void testBitwiseNegatedBoxed() { doTest(); }
|
||||
|
||||
Reference in New Issue
Block a user