use raw value directly
This commit is contained in:
parent
a49120bfc1
commit
3b85dbb8c8
|
@ -226,10 +226,7 @@ public class Setting<T> extends ToXContentToBytes {
|
||||||
|
|
||||||
|
|
||||||
public boolean prepareApply(Settings settings) {
|
public boolean prepareApply(Settings settings) {
|
||||||
String newValue = settings.get(key);
|
final String newValue = getRaw(settings);
|
||||||
if (newValue == null) {
|
|
||||||
newValue = getRaw(settings);
|
|
||||||
}
|
|
||||||
if (value.equals(newValue) == false) {
|
if (value.equals(newValue) == false) {
|
||||||
T inst = get(settings);
|
T inst = get(settings);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue