mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-15 11:58:18 +07:00
redundant suppressions on the fly: check alternative ids, old suppress ids (IDEA-223759)
GitOrigin-RevId: 3d1332fd4cdb1bdd39c26de6713cf6f464fc61e3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
991047113e
commit
bb650d3c68
+9
@@ -0,0 +1,9 @@
|
||||
// "Remove 'boxing' suppression" "true"
|
||||
import java.util.ArrayList;
|
||||
|
||||
class Test {
|
||||
void doSomething() {
|
||||
final Integer number = Integer.valueOf(1);
|
||||
System.out.println(number);
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Remove 'CloneDoesntCallSuperClone' suppression" "true"
|
||||
|
||||
class NoSuperCall {
|
||||
@Override
|
||||
public Object clone() throws CloneNotSupportedException {
|
||||
return super.clone();
|
||||
}
|
||||
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Remove 'boxing' suppression" "true"
|
||||
import java.util.ArrayList;
|
||||
|
||||
class Test {
|
||||
@SuppressWarnings( {"bo<caret>xing"})
|
||||
void doSomething() {
|
||||
final Integer number = Integer.valueOf(1);
|
||||
System.out.println(number);
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Remove 'CloneDoesntCallSuperClone' suppression" "true"
|
||||
|
||||
class NoSuperCall {
|
||||
@SuppressWarnings("CloneDoesntCa<caret>llSuperClone")
|
||||
@Override
|
||||
public Object clone() throws CloneNotSupportedException {
|
||||
return super.clone();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user