From a15658fef5f11641279454e247bdea7001ec379a Mon Sep 17 00:00:00 2001 From: RA Date: Sun, 12 Jun 2016 06:41:38 -0500 Subject: [PATCH] Update SolrServerUtils.java compatibility issue. `CommonsHttpSolrServer` already change to `ConcurrentUpdateSolrServer` --- .../data/solr/server/support/SolrServerUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/solr/server/support/SolrServerUtils.java b/src/main/java/org/springframework/data/solr/server/support/SolrServerUtils.java index 6b46d5f5f..5da5d17ba 100644 --- a/src/main/java/org/springframework/data/solr/server/support/SolrServerUtils.java +++ b/src/main/java/org/springframework/data/solr/server/support/SolrServerUtils.java @@ -91,7 +91,7 @@ public static T clone(T solrServer, String core) { } SolrServer clone = null; - if (shortName.equals("HttpSolrServer") || shortName.equals("CommonsHttpSolrServer")) { + if (shortName.equals("HttpSolrServer") || shortName.equals("CommonsHttpSolrServer") || shortName.equals("ConcurrentUpdateSolrServer")) { clone = cloneHttpSolrServer(solrServer, core); } else if (shortName.equals("LBHttpSolrServer")) { clone = cloneLBHttpSolrServer(solrServer, core);