You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2015/03/07 23:39:13 UTC
[3/4] camel git commit: Remove unused local variable and commented
out code
Remove unused local variable and commented out code
Signed-off-by: Gregor Zurowski <gr...@zurowski.org>
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/fa20f222
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/fa20f222
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/fa20f222
Branch: refs/heads/master
Commit: fa20f222475d4ea7ea8aa27e567272c4d412badf
Parents: 762bde5
Author: Gregor Zurowski <gr...@zurowski.org>
Authored: Sat Mar 7 17:20:15 2015 -0500
Committer: Gregor Zurowski <gr...@zurowski.org>
Committed: Sat Mar 7 17:20:15 2015 -0500
----------------------------------------------------------------------
.../apache/camel/component/solr/SolrCloudFixture.java | 13 -------------
1 file changed, 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/fa20f222/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java
----------------------------------------------------------------------
diff --git a/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java b/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java
index c14659b..dbec1e9 100644
--- a/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java
+++ b/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java
@@ -28,7 +28,6 @@ import org.apache.solr.client.solrj.request.QueryRequest;
import org.apache.solr.cloud.MiniSolrCloudCluster;
import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.common.cloud.SolrZkClient;
-import org.apache.solr.common.cloud.ZkNodeProps;
import org.apache.solr.common.params.CollectionParams.CollectionAction;
import org.apache.solr.common.params.CoreAdminParams;
import org.apache.solr.common.params.ModifiableSolrParams;
@@ -132,23 +131,11 @@ public class SolrCloudFixture {
Map<String, Object> props = new HashMap<String, Object>();
props.put("configName", "conf1");
- final ZkNodeProps zkProps = new ZkNodeProps(props);
-
- // zkClient.makePath("/collections/collection1",
- // ZkStateReader.toJSON(zkProps), CreateMode.PERSISTENT, true);
- // zkClient.makePath("/collections/collection1/shards",
- // CreateMode.PERSISTENT, true);
- // zkClient.makePath("/collections/control_collection",
- // ZkStateReader.toJSON(zkProps), CreateMode.PERSISTENT, true);
- // zkClient.makePath("/collections/control_collection/shards",
- // CreateMode.PERSISTENT, true);
// for now, always upload the config and schema to the canonical names
putConfig("conf1", zkClient, solrhome, config, "solrconfig.xml");
putConfig("conf1", zkClient, solrhome, schema, "schema.xml");
- // putConfig("conf1", zkClient, solrhome,
- // "solrconfig.snippet.randomindexconfig.xml");
putConfig("conf1", zkClient, solrhome, "stopwords.txt");
putConfig("conf1", zkClient, solrhome, "stopwords_en.txt");
putConfig("conf1", zkClient, solrhome, "protwords.txt");