mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-06 18:23:49 +00:00
chore[storage]: rename generic type
This commit is contained in:
@@ -73,10 +73,9 @@ public abstract class ConvertUtils {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
var splits = content.split(StringUtils.COMMA_REGEX);
|
||||
var length = splits.length;
|
||||
var list = new ArrayList<T>();
|
||||
for (var i = 0; i < length; i++) {
|
||||
var value = ConvertUtils.convert(StringUtils.trim(splits[i]), genericType);
|
||||
for (var split : splits) {
|
||||
var value = ConvertUtils.convert(StringUtils.trim(split), genericType);
|
||||
list.add(value);
|
||||
}
|
||||
return Collections.unmodifiableList(list);
|
||||
|
||||
Reference in New Issue
Block a user