]> source.dussan.org Git - aspectj.git/commitdiff
sometimes we get asked to resolve more than once, and that's ok...
authoracolyer <acolyer>
Wed, 13 Jul 2005 13:00:08 +0000 (13:00 +0000)
committeracolyer <acolyer>
Wed, 13 Jul 2005 13:00:08 +0000 (13:00 +0000)
weaver/src/org/aspectj/weaver/TypeVariable.java

index f33bf8f3fc6e2b0f541e1d94bef437b7cb65d908..a30a085765625d07dc77dfcf08760acdec8a1257 100644 (file)
@@ -86,7 +86,7 @@ public class TypeVariable {
         * resolve all the bounds of this type variable
         */
        public void resolve(World inSomeWorld) {
-               if (isResolved) throw new IllegalStateException("already resolved!");
+               if (isResolved) return;
                
                upperBound = upperBound.resolve(inSomeWorld);
                if (lowerBound != null) lowerBound = lowerBound.resolve(inSomeWorld);