INT-3712: Remove StringUtils.isNotEmpty usage
JIRA: https://jira.spring.io/browse/INT-3712
According to the commit b90085500d
`StringUtils.isNotEmpty` doesn't exist anymore. `StringUtils.hasLength` is way to go ahead.
This commit is contained in:
@@ -128,7 +128,7 @@ public class SyslogToMapTransformer extends AbstractPayloadTransformer<Object, M
|
||||
map.put(TIMESTAMP, timestamp);
|
||||
}
|
||||
map.put(HOST, matcher.group(3));
|
||||
if (StringUtils.isNotEmpty(matcher.group(4))) {
|
||||
if (StringUtils.hasLength(matcher.group(4))) {
|
||||
map.put(TAG, matcher.group(4));
|
||||
}
|
||||
map.put(MESSAGE, matcher.group(5));
|
||||
|
||||
Reference in New Issue
Block a user