Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-18368: remove CloudSolrClient.Builder.withInternalClientBuilder (#4782)

Serhiy Bzhezytskyy3ef3d093c068
diff --git a/changelog/unreleased/SOLR-18368-remove-withinternalclientbuilder.yml b/changelog/unreleased/SOLR-18368-remove-withinternalclientbuilder.yml
new file mode 100644
index 00000000000..cd20ff93b59
--- /dev/null
+++ b/changelog/unreleased/SOLR-18368-remove-withinternalclientbuilder.yml
@@ -0,0 +1,7 @@
+title: Remove the deprecated CloudSolrClient.Builder.withInternalClientBuilder method; use withHttpClientBuilder instead.
+type: removed
+authors:
+ - name: Serhiy Bzhezytskyy
+links:
+ - name: SOLR-18368
+ url: https://issues.apache.org/jira/browse/SOLR-18368
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
index e593debc614..a9b8c4ed1cd 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
@@ -1592,12 +1592,6 @@ public abstract class CloudSolrClient extends SolrClient {
return this;
}
- @Deprecated(since = "9.10")
- public Builder withInternalClientBuilder(
- HttpSolrClient.BuilderBase<?, ?> internalClientBuilder) {
- return withHttpClientBuilder(internalClientBuilder);
- }
-
/**
* Sets the Zk connection timeout
*