mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
restore inspection short name to preserve user's profiles (IDEA-CR-15069)
This commit is contained in:
+1
-1
@@ -1400,7 +1400,7 @@
|
||||
<localInspection groupPath="Java" language="JAVA" shortName="JUnitDatapoint" bundle="com.siyeh.InspectionGadgetsBundle"
|
||||
key="junit.datapoint.display.name" implementationClass="com.siyeh.ig.junit.JUnitDatapointInspection"
|
||||
groupBundle="messages.InspectionsBundle" groupKey="group.names.junit.issues" enabledByDefault="false" level="WARNING"/>
|
||||
<localInspection groupPath="Java" language="JAVA" suppressId="MessageMissingOnJUnitAssertion" shortName="JUnitAssertsWithoutMessages"
|
||||
<localInspection groupPath="Java" language="JAVA" suppressId="MessageMissingOnJUnitAssertion" shortName="AssertsWithoutMessages"
|
||||
bundle="com.siyeh.InspectionGadgetsBundle" key="asserts.without.messages.display.name"
|
||||
groupBundle="messages.InspectionsBundle" groupKey="group.names.junit.issues" enabledByDefault="false" level="WARNING"
|
||||
implementationClass="com.siyeh.ig.junit.JUnitAssertsWithoutMessagesInspection"/>
|
||||
|
||||
+6
@@ -24,6 +24,12 @@ import java.util.Map;
|
||||
|
||||
public class JUnitAssertsWithoutMessagesInspection extends AssertsWithoutMessagesInspection {
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String getShortName() {
|
||||
return "AssertsWithoutMessages";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Map<String, Integer> getAssertMethods() {
|
||||
return AssertHint.JUnitCommonAssertNames.COMMON_ASSERT_METHODS;
|
||||
|
||||
Reference in New Issue
Block a user