intellij-quarkus
intellij-quarkus copied to clipboard
warning when compiling tests: cast to Object for a varargs call
./gradlew clean build
> Task :compileTestJava
/Users/andredietisheim/Documents/jboss-workspaces/intellij-quarkus/intellij-community/platform/external-system-impl/testSrc/com/intellij/openapi/externalSystem/test/ExternalSystemImportingTestCase.java:300: warning: non-varargs call of varargs method with inexact argument type for last parameter;
assertUnorderedElementsAreEqual(ContainerUtil.map2Array(deps, entry -> entry.getScope()), scopes);
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
/Users/andredietisheim/Documents/jboss-workspaces/intellij-quarkus/intellij-community/platform/external-system-impl/testSrc/com/intellij/openapi/externalSystem/test/ExternalSystemImportingTestCase.java:355: warning: non-varargs call of varargs method with inexact argument type for last parameter;
assertUnorderedElementsAreEqual(ContainerUtil.map2Array(deps, entry -> entry.getScope()), scopes);
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
This is code copied from upstream IJ so I'm afraid you'll have to be very strong to get it fixed