]> source.dussan.org Git - aspectj.git/commitdiff
switched from diamond operator
authorAndy Clement <aclement@pivotal.io>
Fri, 20 Oct 2017 19:39:13 +0000 (12:39 -0700)
committerAndy Clement <aclement@pivotal.io>
Fri, 20 Oct 2017 19:39:13 +0000 (12:39 -0700)
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java

index 33d69f66fa0b83efb87a85b3e7dcfcaddee3563d..24c5ba1bd7d558198786ee95a56d52b4c7261f16 100644 (file)
@@ -32,6 +32,7 @@ import org.aspectj.bridge.AbortException;
 import org.aspectj.bridge.Constants;
 import org.aspectj.bridge.MessageUtil;
 import org.aspectj.util.LangUtil;
+import org.aspectj.weaver.IUnwovenClassFile;
 import org.aspectj.weaver.Lint;
 import org.aspectj.weaver.Lint.Kind;
 import org.aspectj.weaver.ResolvedType;
@@ -1002,7 +1003,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
         */
        public void flushGeneratedClasses() {
                // System.err.println("? ClassLoaderWeavingAdaptor.flushGeneratedClasses() generatedClasses=" + generatedClasses);
-               generatedClasses = new HashMap<>();
+               generatedClasses = new HashMap<String, IUnwovenClassFile>();
        }
 
        private Unsafe unsafe;