mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
fix remove redundant suppress from javadoc tag (IDEA-205073)
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// "Remove 'unchecked' suppression" "true"
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* unrelated text
|
||||
*/
|
||||
public class Test {
|
||||
@SafeVarargs
|
||||
static <T> List<T> foo(T... t){
|
||||
return null;
|
||||
}
|
||||
|
||||
void foo() {
|
||||
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
||||
}
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// "Remove 'unchecked' suppression" "true"
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @noinspection a1, b2
|
||||
*/
|
||||
public class Test {
|
||||
@SafeVarargs
|
||||
static <T> List<T> foo(T... t){
|
||||
return null;
|
||||
}
|
||||
|
||||
void foo() {
|
||||
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
||||
}
|
||||
}
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// "Remove 'unchecked' suppression" "true"
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @noinspection unch<caret>ecked
|
||||
*
|
||||
* unrelated text
|
||||
*/
|
||||
public class Test {
|
||||
@SafeVarargs
|
||||
static <T> List<T> foo(T... t){
|
||||
return null;
|
||||
}
|
||||
|
||||
void foo() {
|
||||
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
||||
}
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// "Remove 'unchecked' suppression" "true"
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @noinspection a1,unch<caret>ecked, b2
|
||||
*/
|
||||
public class Test {
|
||||
@SafeVarargs
|
||||
static <T> List<T> foo(T... t){
|
||||
return null;
|
||||
}
|
||||
|
||||
void foo() {
|
||||
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user