aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
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()) {