uschindler commented on a change in pull request #1624: URL: https://github.com/apache/lucene-solr/pull/1624#discussion_r447650963
########## File path: solr/core/src/java/org/apache/solr/api/AnnotatedApi.java ########## @@ -87,16 +83,18 @@ public EndPoint getEndPoint() { public static List<Api> getApis(Object obj) { return getApis(obj.getClass(), obj); } - public static List<Api> getApis(Class<? extends Object> klas , Object obj) { - if (!Modifier.isPublic(klas.getModifiers())) { - throw new RuntimeException(klas.getName() + " is not public"); + public static List<Api> getApis(Class<? extends Object> theClass , Object obj) { + Class<?> klas = null; Review comment: this should be declared `final` and not nulled. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org