From: Andy Clement Date: Mon, 27 Jun 2016 21:11:24 +0000 (-0700) Subject: Remove diamond usage X-Git-Tag: V1_9_0_BETA4~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b784ef4eb56c4aa29d68833f964aa5148540b4f1;p=aspectj.git Remove diamond usage --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java index fa3e28ad0..162bd7bc9 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java @@ -80,7 +80,7 @@ public class AdviceDeclaration extends AjMethodDeclaration { // override protected int generateInfoAttributes(ClassFile classFile) { - List l = new ArrayList<>(1); + List l = new ArrayList(1); l.add(new EclipseAttributeAdapter(makeAttribute())); addDeclarationStartLineAttribute(l, classFile); return classFile.generateMethodInfoAttributes(binding, l);