HADOOP-15246. SpanReceiverInfo - Prefer ArrayList over LinkedList. Contributed by David Mollitor.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
This commit is contained in:
parent
12c7084be3
commit
a707bb7c1b
@ -17,7 +17,7 @@
|
||||
*/
|
||||
package org.apache.hadoop.tracing;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.hadoop.classification.InterfaceAudience;
|
||||
@ -29,7 +29,7 @@ public class SpanReceiverInfo {
|
||||
private final long id;
|
||||
private final String className;
|
||||
final List<ConfigurationPair> configPairs =
|
||||
new LinkedList<ConfigurationPair>();
|
||||
new ArrayList<ConfigurationPair>();
|
||||
|
||||
static class ConfigurationPair {
|
||||
private final String key;
|
||||
|
Loading…
Reference in New Issue
Block a user