fix #2186 field.script returns Object

This commit is contained in:
Shinsuke Sugaya 2019-07-22 06:43:23 +09:00
parent a3c1895aff
commit c2916d649a

View file

@ -151,7 +151,7 @@ public interface FessTransformer {
}
}
default String evaluateValue(final String template, final Map<String, Object> paramMap) {
default Object evaluateValue(final String template, final Map<String, Object> paramMap) {
if (StringUtil.isEmpty(template)) {
return StringUtil.EMPTY;
}
@ -160,7 +160,7 @@ public interface FessTransformer {
if (value == null) {
return null;
}
return value.toString();
return value;
}
default int getMaxSiteLength() {