瀏覽代碼

fix #814 add value check

Shinsuke Sugaya 8 年之前
父節點
當前提交
c1816c92ab
共有 1 個文件被更改,包括 3 次插入0 次删除
  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);
             }