| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java
|
| index e69491f22803df405e9787a01dc76c356b6f3c62..b5cc3a7aa59832df2f10b98b8b112a1dc87cf2ac 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java
|
| @@ -20,7 +20,6 @@ import com.google.dart.engine.type.UnionType;
|
| import com.google.dart.engine.utilities.translation.DartExpressionBody;
|
|
|
| import java.util.ArrayList;
|
| -import java.util.Collection;
|
| import java.util.Collections;
|
| import java.util.HashSet;
|
| import java.util.Set;
|
| @@ -110,7 +109,7 @@ public class UnionTypeImpl extends TypeImpl implements UnionType {
|
|
|
| @Override
|
| public Type substitute(Type[] argumentTypes, Type[] parameterTypes) {
|
| - Collection<Type> out = new ArrayList<Type>();
|
| + ArrayList<Type> out = new ArrayList<Type>();
|
| for (Type t : types) {
|
| out.add(t.substitute(argumentTypes, parameterTypes));
|
| }
|
|
|