Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.2.0
-
None
-
None
-
Reviewed
Description
The values is initialized twice.
StringUtils.java
public static Collection<String> getStringCollection(String str){ List<String> values = new ArrayList<String>(); if (str == null) return values; StringTokenizer tokenizer = new StringTokenizer (str,","); values = new ArrayList<String>();