mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java: don't report redundant cast on primitive array argument to vararg method (IDEA-273298)
GitOrigin-RevId: 938943d615f628bffe7fe493cfc5f408ff3592d0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fdde91f28d
commit
3d6b0b432c
+2
@@ -30,6 +30,8 @@ public class PrimitiveArrayArgumentToVariableArgMethod
|
||||
void foo(byte[] bs) {
|
||||
final X<byte[]> x = new X<byte[]>();
|
||||
x.method(bs);
|
||||
final X<Object> y = new X<Object>();
|
||||
y.method(<warning descr="Confusing primitive array argument to varargs method">bs</warning>);
|
||||
}
|
||||
|
||||
void m() {
|
||||
|
||||
Reference in New Issue
Block a user