IDEA-229320 Heap pollution warning for records

GitOrigin-RevId: 1e870db7c171c02af5d01c74ca631ab2dafe43ef
This commit is contained in:
Tagir Valeev
2019-12-17 11:02:18 +00:00
committed by intellij-monorepo-bot
parent 89d4f6f422
commit 2c22ee32a7
3 changed files with 63 additions and 21 deletions
@@ -0,0 +1,5 @@
// "Annotate as @SafeVarargs" "true"
@SafeVarargs
public record Test(java.util.List<String>... args) {
}
@@ -0,0 +1,4 @@
// "Annotate as @SafeVarargs" "true"
public record T<caret>est(java.util.List<String>... args) {
}