diff --git a/build.gradle b/build.gradle index aba759a..7bdd812 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { if (!project.hasProperty('publishPluginChannels')) ext.publishPluginChannels = '' if (!project.hasProperty('publishPluginToken')) ext.publishPluginToken = '**UNDEFINED**' -if (!project.hasProperty('ideVersion')) ext.ideVersion = 'IC-2022.3' +if (!project.hasProperty('ideVersion')) ext.ideVersion = 'IC-2023.2' wrapper { gradleVersion = '8.0.2' diff --git a/src/main/java/org/codenarc/idea/inspections/design/AbstractClassWithoutAbstractMethodInspectionTool.java b/src/main/java/org/codenarc/idea/inspections/design/AbstractClassWithoutAbstractMethodInspectionTool.java index ec1c994..8454a02 100644 --- a/src/main/java/org/codenarc/idea/inspections/design/AbstractClassWithoutAbstractMethodInspectionTool.java +++ b/src/main/java/org/codenarc/idea/inspections/design/AbstractClassWithoutAbstractMethodInspectionTool.java @@ -1,13 +1,11 @@ package org.codenarc.idea.inspections.design; -import com.intellij.codeInsight.daemon.impl.quickfix.AddDefaultConstructorFix; import com.intellij.codeInspection.LocalQuickFix; import com.intellij.psi.PsiClass; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile; import com.intellij.psi.PsiModifier; import com.intellij.util.containers.JBIterable; -import java.util.Arrays; import java.util.Collection; import java.util.Collections; import javax.annotation.Generated; @@ -70,9 +68,8 @@ public boolean isEnhancedMode() { if (theClass == null) { return Collections.singletonList(new GrRemoveModifierFix(PsiModifier.ABSTRACT)); } - return Arrays.asList( - new GrModifierFix(theClass, PsiModifier.ABSTRACT, true, false, GrModifierFix.MODIFIER_LIST_CHILD), - new AddDefaultConstructorFix(theClass, PsiModifier.PROTECTED) + return Collections.singleton( + new GrModifierFix(theClass, PsiModifier.ABSTRACT, true, false, GrModifierFix.MODIFIER_LIST_CHILD) ); }