mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
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) {
|
||||
String newValue = settings.get(key);
|
||||
if (newValue == null) {
|
||||
newValue = getRaw(settings);
|
||||
}
|
||||
final String newValue = getRaw(settings);
|
||||
if (value.equals(newValue) == false) {
|
||||
T inst = get(settings);
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user