warn about possible heap pollution: annotates as SafeVarargs for final/static methods only (to be improved)

This commit is contained in:
anna
2011-02-17 16:46:33 +01:00
parent 50278d4d91
commit 0f9fced33c
2 changed files with 37 additions and 42 deletions

View File

@@ -1,7 +0,0 @@
// "Annotate as @SafeVarargs" "false"
public class Test {
public <T> void m<caret>ain(T... args) {
}
}