janhoy commented on PR #4205:
URL: https://github.com/apache/solr/pull/4205#issuecomment-4625428596
This PR does not pass precommit:
```
> Task :solr:modules:cuvs:ecjLintMain
/home/runner/work/solr/solr/solr/core/src/test/org/apache/solr/handler/IndexFetcherPacketProtocolTest.java:278:
warning: [UnnecessarilyFullyQualified] This fully qualified name is
unambiguous to the compiler if imported.
Method writeMethod = stream.getClass().getMethod("write",
java.io.OutputStream.class);
> Task :solr:modules:cuvs:compileJava
> Task :solr:modules:cuvs:classes
> Task :solr:core:compileTestJava
^
(see https://errorprone.info/bugpattern/UnnecessarilyFullyQualified)
Did you mean 'Method writeMethod = stream.getClass().getMethod("write",
OutputStream.class);'?
/home/runner/work/solr/solr/solr/core/src/test/org/apache/solr/handler/IndexFetcherPacketProtocolTest.java:380:
warning: [UnnecessarilyFullyQualified] This fully qualified name is
unambiguous to the compiler if imported.
return java.lang.reflect.Proxy.newProxyInstance(
^
(see https://errorprone.info/bugpattern/UnnecessarilyFullyQualified)
Did you mean 'return Proxy.newProxyInstance('?
error: warnings found and -Werror specified
Note: Some input files use or override a deprecated API.
> Task :solr:core:compileTestJava FAILED
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]