mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not cleanup empty constructors (IDEA-128592)
This commit is contained in:
+1
-1
@@ -2363,7 +2363,7 @@
|
||||
implementationClass="com.siyeh.ig.style.UnnecessaryToStringCallInspection"/>
|
||||
<localInspection language="JAVA" suppressId="RedundantNoArgConstructor" shortName="UnnecessaryConstructor" bundle="com.siyeh.InspectionGadgetsBundle"
|
||||
key="unnecessary.constructor.display.name" groupBundle="messages.InspectionsBundle"
|
||||
groupKey="group.names.code.style.issues" enabledByDefault="false" level="WARNING" cleanupTool="true"
|
||||
groupKey="group.names.code.style.issues" enabledByDefault="false" level="WARNING"
|
||||
implementationClass="com.siyeh.ig.style.UnnecessaryConstructorInspection"/>
|
||||
<localInspection language="JAVA" shortName="UnnecessaryEnumModifier" bundle="com.siyeh.InspectionGadgetsBundle"
|
||||
key="unnecessary.enum.modifier.display.name" groupBundle="messages.InspectionsBundle"
|
||||
|
||||
+1
-2
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.siyeh.ig.style;
|
||||
|
||||
import com.intellij.codeInspection.CleanupLocalInspectionTool;
|
||||
import com.intellij.codeInspection.ProblemDescriptor;
|
||||
import com.intellij.codeInspection.ui.SingleCheckboxOptionsPanel;
|
||||
import com.intellij.openapi.project.Project;
|
||||
@@ -30,7 +29,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
public class UnnecessaryConstructorInspection extends BaseInspection implements CleanupLocalInspectionTool {
|
||||
public class UnnecessaryConstructorInspection extends BaseInspection {
|
||||
|
||||
@NonNls
|
||||
private static final String SUPER_CALL_TEXT = PsiKeyword.SUPER + "();";
|
||||
|
||||
Reference in New Issue
Block a user