From: acolyer Date: Wed, 13 Jul 2005 13:00:08 +0000 (+0000) Subject: sometimes we get asked to resolve more than once, and that's ok... X-Git-Tag: PRE_ANDY~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eb6c76d2789f5c8634dc56a5d156559f5569407f;p=aspectj.git sometimes we get asked to resolve more than once, and that's ok... --- diff --git a/weaver/src/org/aspectj/weaver/TypeVariable.java b/weaver/src/org/aspectj/weaver/TypeVariable.java index f33bf8f3f..a30a08576 100644 --- a/weaver/src/org/aspectj/weaver/TypeVariable.java +++ b/weaver/src/org/aspectj/weaver/TypeVariable.java @@ -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);