Source:
<code>private static Tuple2<Configuration, Configuration> parseCommandLine( final String[] args, final List<Class<? extends Name<?>>> userParameterClassList) throws IOException { final JavaConfigurationBuilder cb = Tang.Factory.getTang().newConfigurationBuilder(); final CommandLine cl = new CommandLine(cb); final List<Class<? extends Name<?>>> basicParameterClassList = new ArrayList<>(14); basicParameterClassList.add(EvaluatorSize.class); basicParameterClassList.add(InputDir.class); basicParameterClassList.add(OnLocal.class); basicParameterClassList.add(Splits.class); <START> basicParameterClassList.add(NumWorkerThreads.class); <END> basicParameterClassList.add(Timeout.class); basicParameterClassList.add(LocalRuntimeMaxNumEvaluators.class); basicParameterClassList.add(Iterations.class); basicParameterClassList.add(NumServers.class); basicParameterClassList.add(NumPartitions.class); basicParameterClassList.add(ServerQueueSize.class); basicParameterClassList.add(WorkerNumPartitions.class); basicParameterClassList.add(WorkerQueueSize.class); basicParameterClassList.add(WorkerExpireTimeout.class); basicParameterClassList.add(WorkerKeyCacheSize.class); for (final Class<? extends Name<?>> basicParameterClass : basicParameterClassList) { cl.registerShortNameOfClass(basicParameterClass); } for (final Class<? extends Name<?>> userParameterClass : userParameterClassList) { cl.registerShortNameOfClass(userParameterClass); } cl.processCommandLine(args); final Configuration clConf = cb.build(); return new Tuple2<>(extractParameterConf(basicParameterClassList, clConf), extractParameterConf(userParameterClassList, clConf)); }</code><technical_language>Please change initial capacity of basicParameterClassList 15</technical_language>

Target:
private static Tuple2<Configuration, Configuration> parseCommandLine( final String[] args, final List<Class<? extends Name<?>>> userParameterClassList) throws IOException { final JavaConfigurationBuilder cb = Tang.Factory.getTang().newConfigurationBuilder(); final CommandLine cl = new CommandLine(cb); final List<Class<? extends Name<?>>> basicParameterClassList = new ArrayList<>(15); basicParameterClassList.add(EvaluatorSize.class); basicParameterClassList.add(InputDir.class); basicParameterClassList.add(OnLocal.class); basicParameterClassList.add(Splits.class); basicParameterClassList.add(NumWorkerThreads.class); basicParameterClassList.add(Timeout.class); basicParameterClassList.add(LocalRuntimeMaxNumEvaluators.class); basicParameterClassList.add(Iterations.class); basicParameterClassList.add(NumServers.class); basicParameterClassList.add(NumPartitions.class); basicParameterClassList.add(ServerQueueSize.class); basicParameterClassList.add(WorkerNumPartitions.class); basicParameterClassList.add(WorkerQueueSize.class); basicParameterClassList.add(WorkerExpireTimeout.class); basicParameterClassList.add(WorkerKeyCacheSize.class); for (final Class<? extends Name<?>> basicParameterClass : basicParameterClassList) { cl.registerShortNameOfClass(basicParameterClass); } for (final Class<? extends Name<?>> userParameterClass : userParameterClassList) { cl.registerShortNameOfClass(userParameterClass); } cl.processCommandLine(args); final Configuration clConf = cb.build(); return new Tuple2<>(extractParameterConf(basicParameterClassList, clConf), extractParameterConf(userParameterClassList, clConf)); }