Index: compiler/java/com/google/dart/compiler/type/Types.java |
diff --git a/compiler/java/com/google/dart/compiler/type/Types.java b/compiler/java/com/google/dart/compiler/type/Types.java |
index 14faa69525a74218929789f859a36ec793aab128..44f401e282e6f357ddcd93d9b9dbb679aa290622 100644 |
--- a/compiler/java/com/google/dart/compiler/type/Types.java |
+++ b/compiler/java/com/google/dart/compiler/type/Types.java |
@@ -748,7 +748,7 @@ public class Types { |
} |
Set<Class<?>> interfaceSet = getAllImplementedInterfaces(type.getClass()); |
if (!interfaceSet.isEmpty()) { |
- Class<?>[] interfaces = (Class[]) interfaceSet.toArray(new Class[interfaceSet.size()]); |
+ Class<?>[] interfaces = interfaceSet.toArray(new Class[interfaceSet.size()]); |
return makeInferred(type, interfaces, quality); |
} |
return type; |