Fix settingsBuilder() with builder()

This commit is contained in:
David Pilato 2017-03-09 02:52:19 -08:00 committed by GitHub
parent 4ea6fc0059
commit e3b1c95623
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ In order to enable sniffing, set `client.transport.sniff` to `true`:
[source,java]
--------------------------------------------------
Settings settings = Settings.settingsBuilder()
Settings settings = Settings.builder()
.put("client.transport.sniff", true).build();
TransportClient client = new PreBuiltTransportClient(settings);
--------------------------------------------------