Remove inaccurate Javadoc on Setting constructor
The 'Setting' constructor has some outdated Javadoc that suggested that it would automatically apply 'Property.NodeScope' if no scope is supplied, but no scope is added in that case.
This commit is contained in:
parent
eab3113204
commit
de6b4f35b1
|
@ -132,7 +132,7 @@ public class Setting<T> extends ToXContentToBytes {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new Setting instance. When no scope is provided, we default to {@link Property#NodeScope}.
|
* Creates a new Setting instance
|
||||||
* @param key the settings key for this setting.
|
* @param key the settings key for this setting.
|
||||||
* @param defaultValue a default value function that returns the default values string representation.
|
* @param defaultValue a default value function that returns the default values string representation.
|
||||||
* @param parser a parser that parses the string rep into a complex datatype.
|
* @param parser a parser that parses the string rep into a complex datatype.
|
||||||
|
@ -165,7 +165,7 @@ public class Setting<T> extends ToXContentToBytes {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new Setting instance. When no scope is provided, we default to {@link Property#NodeScope}.
|
* Creates a new Setting instance
|
||||||
* @param key the settings key for this setting.
|
* @param key the settings key for this setting.
|
||||||
* @param fallbackSetting a setting who's value to fallback on if this setting is not defined
|
* @param fallbackSetting a setting who's value to fallback on if this setting is not defined
|
||||||
* @param parser a parser that parses the string rep into a complex datatype.
|
* @param parser a parser that parses the string rep into a complex datatype.
|
||||||
|
|
Loading…
Reference in New Issue