/**
 * Mutinack mutation detection program.
 * Copyright (C) 2014-2016 Olivier Cinquin
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, version 3.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

package uk.org.cinquin.mutinack.misc_util.collections;

import java.util.stream.Collector;

import gnu.trove.list.TIntList;
import gnu.trove.list.array.TIntArrayList;

public class TIntListCollector {

	public static<T> Collector<Integer, TIntList, TIntList> tIntListCollector() {
		return Collector.of(
				TIntArrayList::new,
				TIntList::add,
				(list1, list2) -> {
					list1.addAll(list2);
					return list1;
				},
				list -> list
				);
	}
}

@@ -781,16 +781,60 @@
 ector;%0A%0A
+import org.eclipse.jdt.annotation.NonNull;%0A%0A
 import g
@@ -935,16 +935,26 @@
 ctor %7B%0A%0A
+%09//Unused%0A
 %09public 
@@ -973,16 +973,25 @@
 llector%3C
+@NonNull 
 Integer,

Fix warning and mark method as unused.