[java-intentions] MethodParameterFix: preview-friendly

GitOrigin-RevId: 14945eb9ea25a46005d9bfb77bf8c525d9e142f1
This commit is contained in:
Andrey Cherkasov
2023-01-19 06:55:04 +04:00
committed by intellij-monorepo-bot
parent 942d8db752
commit 9d10cf9e58
6 changed files with 50 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
// "Make 'VarArgMismatch2' take parameter of type 'int[]' here" "true-preview"
record VarArgMismatch2(int[] x) {
public VarArgMismatch2(int..<caret>. x) {
this.x = x;
}
}