uschindler commented on a change in pull request #1624: URL: https://github.com/apache/lucene-solr/pull/1624#discussion_r446632522
########## File path: solr/core/src/java/org/apache/solr/api/AnnotatedApi.java ########## @@ -113,7 +116,7 @@ public EndPoint getEndPoint() { return Collections.singletonList(new AnnotatedApi(specProvider, endPoint, commands, null)); } else { List<Api> apis = new ArrayList<>(); - for (Method m : klas.getDeclaredMethods()) { + for (Method m : klas.getMethods()) { EndPoint endPoint = m.getAnnotation(EndPoint.class); if (endPoint == null) continue; if (!Modifier.isPublic(m.getModifiers())) { Review comment: Yes. For both branches. In 8.x we have to fix the class accessibility check (unrelated to the if statement). ---------------------------------------------------------------- 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