aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authorAndy Clement <andrew.clement@gmail.com>2012-08-27 10:34:56 -0700
committerAndy Clement <andrew.clement@gmail.com>2012-08-27 10:34:56 -0700
commita847c704cd50e382dcd47cef44e8ebc1efc94ae2 (patch)
tree7e90f91c26355e3435ec3baa2cdf3c856aa77e5b /org.aspectj.matcher
parent107d8e037ac3bfd93c7fd35f6d79caa36c89fc21 (diff)
downloadaspectj-a847c704cd50e382dcd47cef44e8ebc1efc94ae2.tar.gz
aspectj-a847c704cd50e382dcd47cef44e8ebc1efc94ae2.zip
generics
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/testsrc/org/aspectj/weaver/patterns/ParserTestCase.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.aspectj.matcher/testsrc/org/aspectj/weaver/patterns/ParserTestCase.java b/org.aspectj.matcher/testsrc/org/aspectj/weaver/patterns/ParserTestCase.java
index 902e41c24..7ffad81d5 100644
--- a/org.aspectj.matcher/testsrc/org/aspectj/weaver/patterns/ParserTestCase.java
+++ b/org.aspectj.matcher/testsrc/org/aspectj/weaver/patterns/ParserTestCase.java
@@ -698,13 +698,13 @@ public class ParserTestCase extends PatternsTestCase {
fail("Expected WildAnnotationTypePattern but was " + atp.getClass());
}
WildAnnotationTypePattern watp = (WildAnnotationTypePattern) atp;
- Map m = watp.annotationValues;
- Set keys = m.keySet();
- List orderedKeys = new ArrayList();
+ Map<String,String> m = watp.annotationValues;
+ Set<String> keys = m.keySet();
+ List<String> orderedKeys = new ArrayList<String>();
orderedKeys.addAll(keys);
Collections.sort(orderedKeys);
StringBuffer sb = new StringBuffer();
- for (Iterator iterator = orderedKeys.iterator(); iterator.hasNext();) {
+ for (Iterator<String> iterator = orderedKeys.iterator(); iterator.hasNext();) {
String object = (String) iterator.next();
sb.append(object).append("=").append(m.get(object));
if (iterator.hasNext()) {