HADOOP-10208. Remove duplicate initialization in StringUtils.getStringCollection. Contributed by Benoy Antony.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1556602 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
49ec397340
commit
963e174276
|
@ -412,6 +412,9 @@ Release 2.4.0 - UNRELEASED
|
|||
HADOOP-10198. DomainSocket: add support for socketpair.
|
||||
(Colin Patrick McCabe via wang)
|
||||
|
||||
HADOOP-10208. Remove duplicate initialization in StringUtils.getStringCollection.
|
||||
(Benoy Antony via jing9)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-9748. Reduce blocking on UGI.ensureInitialized (daryn)
|
||||
|
|
|
@ -343,7 +343,6 @@ public class StringUtils {
|
|||
if (str == null)
|
||||
return values;
|
||||
StringTokenizer tokenizer = new StringTokenizer(str, delim);
|
||||
values = new ArrayList<String>();
|
||||
while (tokenizer.hasMoreTokens()) {
|
||||
values.add(tokenizer.nextToken());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue