diff options
author | aclement <aclement> | 2008-06-04 21:20:31 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-04 21:20:31 +0000 |
commit | 5f61e1b40aad4f10c58400293025745a383df0b7 (patch) | |
tree | 7ca5a47028d31f40ebfdae8c72e43eac09314e12 | |
parent | 35f934a8552fe8b9eb97afcc071377d364282199 (diff) | |
download | aspectj-5f61e1b40aad4f10c58400293025745a383df0b7.tar.gz aspectj-5f61e1b40aad4f10c58400293025745a383df0b7.zip |
231396: refactoring AspectJ: PMD reported
-rw-r--r-- | weaver/src/org/aspectj/weaver/ResolvedType.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedType.java b/weaver/src/org/aspectj/weaver/ResolvedType.java index f8a25bc59..ed049bef3 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedType.java +++ b/weaver/src/org/aspectj/weaver/ResolvedType.java @@ -129,7 +129,7 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl // This set contains pairs of types whose signatures are concatenated // together, this means with a fast lookup we can tell if two types // are equivalent. - static Set validBoxing = new HashSet(); + protected static Set validBoxing = new HashSet(); static { validBoxing.add("Ljava/lang/Byte;B"); @@ -2185,7 +2185,7 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl protected Map getAjMemberParameterizationMap() { Map myMap = getMemberParameterizationMap(); - if (myMap.size() == 0) { + if (myMap.isEmpty()) { // might extend a parameterized aspect that we also need to consider... if (getSuperclass() != null) return getSuperclass().getAjMemberParameterizationMap(); } |