mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[java-dfa] Extract "Constant conditions" into separate "Constant values" inspection (IDEA-58235)
GitOrigin-RevId: 95a81fcd1546afec31afc2a044a9ba5fa1337411
This commit is contained in:
committed by
intellij-monorepo-bot
parent
339e3a45d4
commit
6ffb7e417e
@@ -1,6 +1,7 @@
|
||||
package de.plushnikov.intellij.plugin.inspection;
|
||||
|
||||
import com.intellij.codeInspection.InspectionProfileEntry;
|
||||
import com.intellij.codeInspection.dataFlow.ConstantValueInspection;
|
||||
import com.intellij.codeInspection.dataFlow.DataFlowInspection;
|
||||
|
||||
|
||||
@@ -13,7 +14,7 @@ public class DataFlowInspectionTest extends LombokInspectionTest {
|
||||
|
||||
@Override
|
||||
protected InspectionProfileEntry getInspection() {
|
||||
return new DataFlowInspection();
|
||||
return new ConstantValueInspection();
|
||||
}
|
||||
|
||||
public void testDefaultBuilderFinalValueInspectionIsAlwaysThat() {
|
||||
|
||||
Reference in New Issue
Block a user