You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by mk...@apache.org on 2023/07/04 08:32:14 UTC

[solr] branch main updated: SOLR-16470: Inner class is non-static but does not reference enclosing class (#1751)

This is an automated email from the ASF dual-hosted git repository.

mkhl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new f774922ecf4 SOLR-16470: Inner class is non-static but does not reference enclosing class (#1751)
f774922ecf4 is described below

commit f774922ecf44b18b78435cef8735618bb793ac30
Author: Mikhail Khludnev <mk...@users.noreply.github.com>
AuthorDate: Tue Jul 4 11:32:09 2023 +0300

    SOLR-16470: Inner class is non-static but does not reference enclosing class (#1751)
---
 .../test/org/apache/solr/handler/admin/api/CoreReplicationAPITest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/test/org/apache/solr/handler/admin/api/CoreReplicationAPITest.java b/solr/core/src/test/org/apache/solr/handler/admin/api/CoreReplicationAPITest.java
index 47faa668ba2..19fd1ea96e2 100644
--- a/solr/core/src/test/org/apache/solr/handler/admin/api/CoreReplicationAPITest.java
+++ b/solr/core/src/test/org/apache/solr/handler/admin/api/CoreReplicationAPITest.java
@@ -85,7 +85,7 @@ public class CoreReplicationAPITest extends SolrTestCaseJ4 {
     when(mockCore.getRequestHandler(ReplicationHandler.PATH)).thenReturn(mockReplicationHandler);
   }
 
-  class CoreReplicationAPIMock extends CoreReplicationAPI {
+  private static class CoreReplicationAPIMock extends CoreReplicationAPI {
     public CoreReplicationAPIMock(SolrCore solrCore, SolrQueryRequest req, SolrQueryResponse rsp) {
       super(solrCore, req, rsp);
     }