aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime/src
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2014-03-18 21:46:27 -0700
committerAndy Clement <aclement@gopivotal.com>2014-03-18 21:46:27 -0700
commitbedb85ee870c2c0dad34d68662c83ff7033dd746 (patch)
tree543d944b19d25edabfc567b047c4d0c74a7335e2 /loadtime/src
parentf68fad1168cb96b6dd5402b4778a25e8b4d0acab (diff)
downloadaspectj-bedb85ee870c2c0dad34d68662c83ff7033dd746.tar.gz
aspectj-bedb85ee870c2c0dad34d68662c83ff7033dd746.zip
Upgrade to JDT 1.8.0 compiler
Diffstat (limited to 'loadtime/src')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
index 2aa6307d3..21a182157 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
@@ -53,7 +53,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
private boolean initialized;
- private List m_dumpTypePattern = new ArrayList();
+ private List<TypePattern> m_dumpTypePattern = new ArrayList<TypePattern>();
private boolean m_dumpBefore = false;
private boolean dumpDirPerClassloader = false;
@@ -931,8 +931,8 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
// TODO AV - optimize for className.startWith only
ResolvedType classInfo = weaver.getWorld().resolve(UnresolvedType.forName(className), true);
// dump
- for (Iterator iterator = m_dumpTypePattern.iterator(); iterator.hasNext();) {
- TypePattern typePattern = (TypePattern) iterator.next();
+ for (Iterator<TypePattern> iterator = m_dumpTypePattern.iterator(); iterator.hasNext();) {
+ TypePattern typePattern = iterator.next();
if (typePattern.matchesStatically(classInfo)) {
// dump match
return true;