]> source.dussan.org Git - aspectj.git/commitdiff
removed dup code!
authoraclement <aclement>
Tue, 19 Aug 2008 20:44:32 +0000 (20:44 +0000)
committeraclement <aclement>
Tue, 19 Aug 2008 20:44:32 +0000 (20:44 +0000)
weaver/src/org/aspectj/weaver/ResolvedType.java

index 97c2f1678255364013c89c4199f2da81e0efc82a..a1ce07fa72fcc9468caa36c48631eee7cb4bcfa8 100644 (file)
@@ -1651,9 +1651,10 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
              ResolvedType rtParentReturnType = parent.resolve(world).getGenericReturnType().resolve(world);
                  ResolvedType rtChildReturnType  = child.resolve(world).getGenericReturnType().resolve(world);
                  incompatibleReturnTypes = !rtParentReturnType.isAssignableFrom(rtChildReturnType);
-                 if (incompatibleReturnTypes) {
-                         incompatibleReturnTypes = !rtParentReturnType.isAssignableFrom(rtChildReturnType);
-                 }
+                 // For debug, uncomment this bit and we'll repeat the check - stick a breakpoint on the call
+//               if (incompatibleReturnTypes) {
+//                       incompatibleReturnTypes = !rtParentReturnType.isAssignableFrom(rtChildReturnType);
+//               }
                } else {
                  incompatibleReturnTypes =!parent.getReturnType().equals(child.getReturnType());
                }