This commit is contained in:
rusefi 2019-07-29 21:04:58 -04:00
parent e8b39bcc8d
commit b7f871c9bc
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
package com.rusefi.ui.storage;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.HashMap;
import java.util.Map;
@ -79,7 +80,8 @@ public class Node {
setProperty(key, "" + b);
}
public String getProperty(String key, String defaultValue) {
@Nullable
public String getProperty(String key, @Nullable String defaultValue) {
String value = (String) config.get(key);
return value == null ? defaultValue : value;
}