mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
19 lines
347 B
Java
19 lines
347 B
Java
// "Remove 'unchecked' suppression" "true-preview"
|
|
import java.util.*;
|
|
|
|
public class Test {
|
|
@SafeVarargs
|
|
static <T> List<T> foo(T... t){
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* Some javadoc with unchecked word inside
|
|
*/
|
|
@SuppressWarnings("unch<caret>ecked")
|
|
void foo() {
|
|
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
|
}
|
|
}
|
|
|