Browse Source

Remove Settings.settingsBuilder (#23575)

In this repository, `Settings.builder` is used everywhere although it does exactly same as `Settings.settingsBuilder`. With the reference of the commit https://github.com/elastic/elasticsearch/commit/42526ac28e07da0055faafca1de6f8c5ec96cd85 , I think mistakenly this `Settings.settingsBuilder` remains in.
Md.Abdulla-Al-Sun 8 years ago
parent
commit
8b6d521037
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/plugins/repository-azure.asciidoc

+ 1 - 1
docs/plugins/repository-azure.asciidoc

@@ -179,7 +179,7 @@ Example using Java:
 [source,java]
 ----
 client.admin().cluster().preparePutRepository("my_backup_java1")
-    .setType("azure").setSettings(Settings.settingsBuilder()
+    .setType("azure").setSettings(Settings.builder()
         .put(Storage.CONTAINER, "backup-container")
         .put(Storage.CHUNK_SIZE, new ByteSizeValue(32, ByteSizeUnit.MB))
     ).get();