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");
}
Show replies by date