fix #814 add value check
This commit is contained in:
parent
297b5f113d
commit
c1816c92ab
1 changed files with 3 additions and 0 deletions
|
@ -1280,6 +1280,9 @@ public interface FessProp {
|
|||
return source.entrySet().stream().map(e -> {
|
||||
final String key = e.getKey();
|
||||
Object value = e.getValue();
|
||||
if (value == null) {
|
||||
value = StringUtil.EMPTY;
|
||||
}
|
||||
if (value instanceof String || value == null) {
|
||||
return new Pair<>(key, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue