]> source.dussan.org Git - aspectj.git/commitdiff
Remove diamond usage
authorAndy Clement <aclement@pivotal.io>
Mon, 27 Jun 2016 21:11:24 +0000 (14:11 -0700)
committerAndy Clement <aclement@pivotal.io>
Mon, 27 Jun 2016 21:11:24 +0000 (14:11 -0700)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java

index fa3e28ad07644da98cca59e33f85bd4861aa6470..162bd7bc90475b3821265257c734a315eef9c7de 100644 (file)
@@ -80,7 +80,7 @@ public class AdviceDeclaration extends AjMethodDeclaration {
 
        // override
        protected int generateInfoAttributes(ClassFile classFile) {
-               List<EclipseAttributeAdapter> l = new ArrayList<>(1);
+               List<EclipseAttributeAdapter> l = new ArrayList<EclipseAttributeAdapter>(1);
                l.add(new EclipseAttributeAdapter(makeAttribute()));
                addDeclarationStartLineAttribute(l, classFile);
                return classFile.generateMethodInfoAttributes(binding, l);