소스 검색

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