فهرست منبع

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