private static double[] copy(double[] src) {
double[] res = new double[src.length];
System.arraycopy(src, 0, res, 0, src.length);
return res;
}
<BUG>private static void mergeMaps(Map<String, List<File>> res, Map<String, List<File>> map) {
</BUG>
for (Map.Entry<String, List<File>> entry : map.entrySet()) {
<BUG>List<File> list = res.get(entry.getKey());
</BUG>
if (list == null) {

private static double[] copy(double[] src) {
double[] res = new double[src.length];
System.arraycopy(src, 0, res, 0, src.length);
return res;
}
private static void mergeMaps(Map<String, List<List<File>>> res, Map<String, List<File>> map) {
for (Map.Entry<String, List<File>> entry : map.entrySet()) {
List<List<File>> list = res.get(entry.getKey());
if (list == null) {
