mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
local redundant throws is not a cleanup tool anymore
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
<globalInspection groupPath="Java" language="JAVA" shortName="UNUSED_IMPORT" bundle="messages.InspectionsBundle" key="unused.import.display.name"
|
||||
groupBundle="messages.InspectionsBundle" groupKey="group.names.imports" enabledByDefault="true" level="WARNING"
|
||||
implementationClass="com.intellij.codeInspection.unusedImport.UnusedImportInspection"/>
|
||||
<globalInspection groupPath="Java" language="JAVA" shortName="RedundantThrows" cleanupTool="true" displayName="Redundant throws clause" groupKey="group.names.declaration.redundancy" groupBundle="messages.InspectionsBundle"
|
||||
<globalInspection groupPath="Java" language="JAVA" shortName="RedundantThrows" displayName="Redundant throws clause" groupKey="group.names.declaration.redundancy" groupBundle="messages.InspectionsBundle"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="com.intellij.codeInspection.unneededThrows.RedundantThrowsDeclarationInspection"/>
|
||||
<globalInspection groupPath="Java" language="JAVA" shortName="SameReturnValue" bundle="messages.InspectionsBundle" key="inspection.same.return.value.display.name"
|
||||
|
||||
+1
-5
@@ -19,11 +19,7 @@ import java.util.function.Predicate;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
/**
|
||||
* @author anna
|
||||
* @since 15-Nov-2005
|
||||
*/
|
||||
public class RedundantThrowsDeclarationLocalInspection extends AbstractBaseJavaLocalInspectionTool implements CleanupLocalInspectionTool {
|
||||
public class RedundantThrowsDeclarationLocalInspection extends AbstractBaseJavaLocalInspectionTool {
|
||||
private final RedundantThrowsDeclarationInspection myGlobalTool;
|
||||
|
||||
@TestOnly
|
||||
|
||||
Reference in New Issue
Block a user