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

gerlowskija 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 d40a0008a19 Resolve test-compilation warning
d40a0008a19 is described below

commit d40a0008a19279c7a5cb67fa9f88738f8f1383b8
Author: Jason Gerlowski <[email protected]>
AuthorDate: Sat Oct 5 09:21:02 2024 -0400

    Resolve test-compilation warning
---
 .../test/org/apache/solr/client/solrj/impl/Http2SolrClientTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/Http2SolrClientTest.java
 
b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/Http2SolrClientTest.java
index 36060f53c5b..2474c772659 100644
--- 
a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/Http2SolrClientTest.java
+++ 
b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/Http2SolrClientTest.java
@@ -196,7 +196,7 @@ public class Http2SolrClientTest extends 
HttpSolrClientTestBase {
         new 
Http2SolrClient.Builder(defaultUrl).withDefaultCollection(DEFAULT_CORE).build())
 {
       try {
         client.requestWithBaseUrl(urlToUse, (c) -> c.query(queryParams));
-      } catch (BaseHttpSolrClient.RemoteSolrException rse) {
+      } catch (SolrClient.RemoteSolrException rse) {
       }
 
       assertEquals(urlToUse + "/select", DebugServlet.url);
@@ -207,7 +207,7 @@ public class Http2SolrClientTest extends 
HttpSolrClientTestBase {
         new 
Http2SolrClient.Builder(defaultUrl).withDefaultCollection(DEFAULT_CORE).build())
 {
       try {
         client.requestWithBaseUrl(urlToUse, null, new 
QueryRequest(queryParams));
-      } catch (BaseHttpSolrClient.RemoteSolrException rse) {
+      } catch (SolrClient.RemoteSolrException rse) {
       }
 
       assertEquals(urlToUse + "/select", DebugServlet.url);

Reply via email to