You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/07/13 12:27:18 UTC

[GitHub] [solr] epugh commented on pull request #938: SOLR-16271: remove wildcard imports

epugh commented on PR #938:
URL: https://github.com/apache/solr/pull/938#issuecomment-1183159810

   Just pushed up the spotless version.   We don't get the nice report, since it just stops on the first one with an exception:
   
   ```
   > Task :solr:core:spotlessJava FAILED
   Step 'Refuse wildcard imports' found problem in 'src/test/org/apache/solr/handler/TestReplicationHandler.java':
   Do not use wildcard imports.  'spotlessApply' cannot resolve this issue.
   java.lang.AssertionError: Do not use wildcard imports.  'spotlessApply' cannot resolve this issue.
           at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
           at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
           at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
           at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
           at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
           at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
           at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
           at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
           at spotless_9enkbgsd2kcvij6tpbbr3dzhe$_run_closure1$_closure2$_closure8$_closure10$_closure11.doCall(/Users/epugh/Documents/projects/solr-epugh-2/gradle/validation/spotless.gradle:66)
   
   ```


-- 
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: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org