|
|
|
@ -192,9 +192,12 @@ public class AlphaFineConfigManager implements XMLable {
|
|
|
|
|
if (tmpVal != null) { |
|
|
|
|
tmpVal = tmpVal.replace("[",StringUtils.EMPTY).replace("]",StringUtils.EMPTY); |
|
|
|
|
Stack<String> stack = new SizedStack<>(3); |
|
|
|
|
List<String> historyList = Arrays.asList(tmpVal.split(",")); |
|
|
|
|
String[] historyList = tmpVal.split(","); |
|
|
|
|
for (String history : historyList) { |
|
|
|
|
stack.add(history.trim()); |
|
|
|
|
String value = history.trim(); |
|
|
|
|
if (StringUtils.isNotEmpty(value)) { |
|
|
|
|
stack.add(value); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
historySearchMap.put(reader.getAttrAsString("user", StringUtils.EMPTY), stack); |
|
|
|
|
} |
|
|
|
@ -215,7 +218,10 @@ public class AlphaFineConfigManager implements XMLable {
|
|
|
|
|
String[] idArr = tmpVal.split(","); |
|
|
|
|
Set<Long> setId = new HashSet<>(); |
|
|
|
|
for (String id : idArr) { |
|
|
|
|
setId.add(Long.parseLong(id.trim())); |
|
|
|
|
String value = id.trim(); |
|
|
|
|
if (StringUtils.isNotEmpty(value)) { |
|
|
|
|
setId.add(Long.parseLong(value)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
readSetMap.put(reader.getAttrAsString("user", StringUtils.EMPTY), setId); |
|
|
|
|
} |
|
|
|
|