User: starksm Date: 01/10/05 11:22:00 Modified: src/main/org/jboss/verifier/strategy AbstractVerifier.java Log: Fix compile error due to lazy commenting out of old code. Just remove the code as the previous version is in cvs. This is what versioning is for. Revision Changes Path 1.21 +8 -5 jboss/src/main/org/jboss/verifier/strategy/AbstractVerifier.java Index: AbstractVerifier.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/verifier/strategy/AbstractVerifier.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- AbstractVerifier.java 2001/10/05 16:26:33 1.20 +++ AbstractVerifier.java 2001/10/05 18:22:00 1.21 @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * This package and its source code is available at www.jboss.org - * $Id: AbstractVerifier.java,v 1.20 2001/10/05 16:26:33 slaboure Exp $ + * $Id: AbstractVerifier.java,v 1.21 2001/10/05 18:22:00 starksm Exp $ */ // standard imports @@ -62,7 +62,7 @@ * @author Aaron Mulder ([EMAIL PROTECTED]) * @author Vinay Menon ([EMAIL PROTECTED]) * - * @version $Revision: 1.20 $ + * @version $Revision: 1.21 $ * @since JDK 1.3 */ public abstract class AbstractVerifier implements VerificationStrategy { @@ -641,16 +641,19 @@ Class[] a = source.getExceptionTypes(); Class[] b = target.getExceptionTypes(); - for (int i = 0; i < a.length; ++i) { + for (int i = 0; i < a.length; ++i) + { boolean found = false; for (int j = 0; j < b.length; ++j) - //if (a[i] == b[j]) { - if (b[j].isAssignableFrom (a[i]) + { + if (b[j].isAssignableFrom (a[i]) ) + { found = true; break; } + } if (!found) return false;
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development