fix typos in javadoc
This commit is contained in:
parent
5eedfb1d62
commit
7a8e420363
|
@ -45,7 +45,7 @@ import static org.elasticsearch.common.settings.ImmutableSettings.writeSettingsT
|
|||
import static org.elasticsearch.common.unit.TimeValue.readTimeValue;
|
||||
|
||||
/**
|
||||
*
|
||||
* A request to create an index template.
|
||||
*/
|
||||
public class PutIndexTemplateRequest extends MasterNodeOperationRequest {
|
||||
|
||||
|
@ -134,7 +134,7 @@ public class PutIndexTemplateRequest extends MasterNodeOperationRequest {
|
|||
}
|
||||
|
||||
/**
|
||||
* The settings to created the index template with.
|
||||
* The settings to create the index template with.
|
||||
*/
|
||||
public PutIndexTemplateRequest settings(Settings settings) {
|
||||
this.settings = settings;
|
||||
|
@ -142,7 +142,7 @@ public class PutIndexTemplateRequest extends MasterNodeOperationRequest {
|
|||
}
|
||||
|
||||
/**
|
||||
* The settings to created the index template with.
|
||||
* The settings to create the index template with.
|
||||
*/
|
||||
public PutIndexTemplateRequest settings(Settings.Builder settings) {
|
||||
this.settings = settings.build();
|
||||
|
@ -150,7 +150,7 @@ public class PutIndexTemplateRequest extends MasterNodeOperationRequest {
|
|||
}
|
||||
|
||||
/**
|
||||
* The settings to crete the index template with (either json/yaml/properties format)
|
||||
* The settings to crete the index template with (either json/yaml/properties format).
|
||||
*/
|
||||
public PutIndexTemplateRequest settings(String source) {
|
||||
this.settings = ImmutableSettings.settingsBuilder().loadFromSource(source).build();
|
||||
|
@ -158,7 +158,7 @@ public class PutIndexTemplateRequest extends MasterNodeOperationRequest {
|
|||
}
|
||||
|
||||
/**
|
||||
* The settings to crete the index template with (either json/yaml/properties format)
|
||||
* The settings to crete the index template with (either json/yaml/properties format).
|
||||
*/
|
||||
public PutIndexTemplateRequest settings(Map<String, Object> source) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue