fix #2186 field.script returns Object
This commit is contained in:
parent
a3c1895aff
commit
c2916d649a
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue