Browse Source

fix #814 add value check

Shinsuke Sugaya 8 years ago
parent
commit
c1816c92ab
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

+ 3 - 0
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

@@ -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);
             }