Skip to content

Commit

Permalink
Correct list misparsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 15, 2017
1 parent e017032 commit c45a16d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -484,9 +484,9 @@ public int add(Object obj) {
*/
public int split(Object obj) {
checkExpired();
String[] split = ((String) obj).replace("li@", "").split("\\|"); // the pipe character | needs to be escaped
dList split = dList.valueOf(obj.toString());

if (split.length > 0) {
if (split.size() > 0) {
for (String val : split) {
if (val.length() > 0) {
value.values.add(val);
Expand Down

0 comments on commit c45a16d

Please sign in to comment.