langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java
changeset 22165 ec53c8946fc2
parent 22163 3651128c74eb
child 24220 eb213562268d
--- a/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java	Thu Dec 19 11:38:45 2013 -0500
+++ b/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java	Thu Dec 19 20:16:44 2013 +0000
@@ -273,7 +273,9 @@
      */
     public static List<Type> getAllInterfaces(Type type,
             Configuration configuration, boolean sort) {
-        Map<ClassDoc,Type> results = sort ? new TreeMap<>() : new LinkedHashMap<>();
+        Map<ClassDoc,Type> results = sort ?
+                new TreeMap<ClassDoc,Type>() :
+                new LinkedHashMap<ClassDoc,Type>();
         Type[] interfaceTypes = null;
         Type superType = null;
         if (type instanceof ParameterizedType) {