From 9d1f6f7615f329c90b52c48c0e18819abb190e4e Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Tue, 26 May 2015 09:54:44 -0400 Subject: [PATCH] a few more ImmutableSettings -> Settings --- src/main/java/org/elasticsearch/node/NodeBuilder.java | 2 +- .../{ImmutableSettingsTests.java => SettingsTests.java} | 2 +- .../org/elasticsearch/common/settings/bar/BarTestClass.java | 2 +- .../org/elasticsearch/common/settings/foo/FooTestClass.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/test/java/org/elasticsearch/common/settings/{ImmutableSettingsTests.java => SettingsTests.java} (99%) diff --git a/src/main/java/org/elasticsearch/node/NodeBuilder.java b/src/main/java/org/elasticsearch/node/NodeBuilder.java index edd89efbee4..9107cf0833e 100644 --- a/src/main/java/org/elasticsearch/node/NodeBuilder.java +++ b/src/main/java/org/elasticsearch/node/NodeBuilder.java @@ -45,7 +45,7 @@ import org.elasticsearch.common.settings.Settings; *

*

  * Node node = NodeBuilder.nodeBuilder()
- *                      .settings(ImmutableSettings.settingsBuilder().put("node.data", false)
+ *                      .settings(Settings.settingsBuilder().put("node.data", false)
  *                      .node();
  * 
*

diff --git a/src/test/java/org/elasticsearch/common/settings/ImmutableSettingsTests.java b/src/test/java/org/elasticsearch/common/settings/SettingsTests.java similarity index 99% rename from src/test/java/org/elasticsearch/common/settings/ImmutableSettingsTests.java rename to src/test/java/org/elasticsearch/common/settings/SettingsTests.java index f8a542a9cc6..c8334ba0691 100644 --- a/src/test/java/org/elasticsearch/common/settings/ImmutableSettingsTests.java +++ b/src/test/java/org/elasticsearch/common/settings/SettingsTests.java @@ -36,7 +36,7 @@ import static org.hamcrest.Matchers.*; /** */ -public class ImmutableSettingsTests extends ElasticsearchTestCase { +public class SettingsTests extends ElasticsearchTestCase { @Test public void testCamelCaseSupport() { diff --git a/src/test/java/org/elasticsearch/common/settings/bar/BarTestClass.java b/src/test/java/org/elasticsearch/common/settings/bar/BarTestClass.java index d4d5d14a86d..8c7b0c1f255 100644 --- a/src/test/java/org/elasticsearch/common/settings/bar/BarTestClass.java +++ b/src/test/java/org/elasticsearch/common/settings/bar/BarTestClass.java @@ -19,6 +19,6 @@ package org.elasticsearch.common.settings.bar; -//used in ImmutableSettingsTest +//used in SettingsTest public class BarTestClass { } diff --git a/src/test/java/org/elasticsearch/common/settings/foo/FooTestClass.java b/src/test/java/org/elasticsearch/common/settings/foo/FooTestClass.java index 36f152778b4..6d8ca4a7986 100644 --- a/src/test/java/org/elasticsearch/common/settings/foo/FooTestClass.java +++ b/src/test/java/org/elasticsearch/common/settings/foo/FooTestClass.java @@ -19,6 +19,6 @@ package org.elasticsearch.common.settings.foo; -// used in ImmutableSettingsTest +// used in SettingsTest public class FooTestClass { }