Skip to content
Snippets Groups Projects
Commit d9772256 authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

small fix

refs 311
parent 6fcf56cc
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ $Id: codetemplates.xml 1 2011-01-01 00:00:01Z hoelzl $
package org.fortiss.tooling.kernel.utils;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.util.BasicEList;
import org.eclipse.emf.common.util.ECollections;
......@@ -30,7 +31,7 @@ import org.eclipse.emf.common.util.EList;
* @author ratiu
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating YELLOW Hash: BF8AC412B3EB14DFA4B48EDE057B394F
* @ConQAT.Rating YELLOW Hash: C65FA03155FB4CFD70AE18E032017BC5
*/
public class EcoreUtils {
......@@ -64,7 +65,7 @@ public class EcoreUtils {
*/
@SuppressWarnings("unchecked")
public static <T> EList<T> pickInstanceOf(Class<T> targetClass,
EList<?> sourceList) {
List<?> sourceList) {
if (sourceList == null)
return null;
EList<T> result = new BasicEList<T>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment