[seam-commits] Seam SVN: r12081 - branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/async.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Feb 26 09:49:35 EST 2010


Author: manaRH
Date: 2010-02-26 09:49:35 -0500 (Fri, 26 Feb 2010)
New Revision: 12081

Modified:
   branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/async/AbstractDispatcher.java
Log:
JBPAPP-3188 - workaround for IBM javac bug

Modified: branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/async/AbstractDispatcher.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/async/AbstractDispatcher.java	2010-02-26 05:25:15 UTC (rev 12080)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/async/AbstractDispatcher.java	2010-02-26 14:49:35 UTC (rev 12081)
@@ -151,7 +151,7 @@
             }
             else if ( annotation.annotationType().equals(FinalExpiration.class) )
             {
-               if (!( this instanceof QuartzDispatcher ))
+               if (!( QuartzDispatcher.class.isInstance(this) ))
                {
                   throw new IllegalArgumentException("Can only use @FinalExpiration with the QuartzDispatcher");
                }
@@ -166,7 +166,7 @@
             }
             else if ( annotation.annotationType().equals(IntervalCron.class) )
             {
-               if (!( this instanceof QuartzDispatcher ))
+               if (!( QuartzDispatcher.class.isInstance(this) ))
                {
                   throw new IllegalArgumentException("Can only use @IntervalCron with the QuartzDispatcher");
                }



More information about the seam-commits mailing list