epugh commented on code in PR #4171:
URL: https://github.com/apache/solr/pull/4171#discussion_r2869500714


##########
solr/core/src/java/org/apache/solr/handler/admin/HealthCheckHandler.java:
##########
@@ -337,7 +326,12 @@ public Boolean registerV2() {
 
   @Override
   public Collection<Api> getApis() {
-    return AnnotatedApi.getApis(new NodeHealthAPI(this));
+    return Collections.emptyList();

Review Comment:
   Funny!  One reason I did that other PR was cause I noticed that Copilot is 
fond of `Collections.emptyList()`!



-- 
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]

Reply via email to