Fix settingsBuilder() with builder()
This commit is contained in:
parent
4ea6fc0059
commit
e3b1c95623
|
@ -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);
|
||||
--------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue