iamsanjay commented on code in PR #3071:
URL: https://github.com/apache/solr/pull/3071#discussion_r2318166306


##########
solr/solrj/src/test/org/apache/solr/client/solrj/impl/Http2SolrClientCompatibilityTest.java:
##########
@@ -36,11 +36,13 @@ public class Http2SolrClientCompatibilityTest extends 
SolrJettyTestBase {
   public void testSystemPropertyFlag() {
     System.setProperty("solr.http1", "true");
     try (Http2SolrClient client = new Http2SolrClient.Builder().build()) {
-      assertTrue(client.getHttpClient().getTransport() instanceof 
HttpClientTransportOverHTTP);
+      assertTrue(
+          client.getHttpClient().getHttpClientTransport() instanceof 
HttpClientTransportOverHTTP);

Review Comment:
   in 12.0.19
   ```
   public HttpClientTransport getTransport()
       {
           return transport;
       }
   ```
   in 12.1.0
   ```
   /**
        * @deprecated use {@link #getHttpClientTransport()} instead
        */
       @Deprecated(forRemoval = true, since = "12.1.0")
       public HttpClientTransport getTransport()
       {
           return getHttpClientTransport();
       }
   
       /**
        * @return the {@link HttpClientTransport} associated with this {@code 
HttpClient}
        */
       public HttpClientTransport getHttpClientTransport()
       {
           return transport;
       }
   ```



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