You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by jd...@apache.org on 2024/03/13 14:25:12 UTC

(solr) branch branch_9x updated: SOLR-599: Fix errorprone warning (#2259)

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

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


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 3537327ab74 SOLR-599: Fix errorprone warning (#2259)
3537327ab74 is described below

commit 3537327ab74ec5401956d1748236c1d73433256f
Author: jdyer1 <jd...@apache.org>
AuthorDate: Wed Mar 13 09:24:34 2024 -0500

    SOLR-599: Fix errorprone warning (#2259)
---
 .../src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
index 10707dc99d7..dc453cef33b 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
@@ -791,6 +791,7 @@ public class Http2SolrClient extends HttpSolrClientBase {
     httpClient.setFollowRedirects(follow);
   }
 
+  @Override
   public String getBaseURL() {
     return serverBaseUrl;
   }
@@ -1105,6 +1106,7 @@ public class Http2SolrClient extends HttpSolrClientBase {
   @Deprecated
   public void setUrlParamNames(Set<String> urlParamNames) {}
 
+  @Override
   protected void updateDefaultMimeTypeForParser() {
     defaultParserMimeTypes =
         parser.getContentTypes().stream()