Replace references to ImmutableSettings with Settings

ImmutableSettings was merged into Settings in commit 4873070.

Change-Id: I06bd0150381d131593920c2328c46beacf49661f
This commit is contained in:
David Pursehouse 2015-06-24 14:53:32 +09:00
parent f379a13fb4
commit b49e66c3a1
5 changed files with 7 additions and 7 deletions

View file

@ -148,7 +148,7 @@ Note that you have to set the cluster name if you use one different than
[source,java]
--------------------------------------------------
Settings settings = ImmutableSettings.settingsBuilder()
Settings settings = Settings.settingsBuilder()
.put("cluster.name", "myClusterName").build();
Client client = TransportClient.builder().settings(settings).build();
//Add transport addresses and do something with the client...
@ -164,7 +164,7 @@ used will be the ones that the other nodes were started with (the
[source,java]
--------------------------------------------------
Settings settings = ImmutableSettings.settingsBuilder()
Settings settings = Settings.settingsBuilder()
.put("client.transport.sniff", true).build();
TransportClient client = TransportClient.builder().settings(settings).build();
--------------------------------------------------