[seam-commits] Seam SVN: r9885 - trunk/src/ioc/org/jboss/seam/ioc/spring.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Jan 7 12:08:38 EST 2009
Author: norman.richards at jboss.com
Date: 2009-01-07 12:08:38 -0500 (Wed, 07 Jan 2009)
New Revision: 9885
Modified:
trunk/src/ioc/org/jboss/seam/ioc/spring/SpringTaskExecutorDispatcher.java
Log:
JBSEAM-3786
Modified: trunk/src/ioc/org/jboss/seam/ioc/spring/SpringTaskExecutorDispatcher.java
===================================================================
--- trunk/src/ioc/org/jboss/seam/ioc/spring/SpringTaskExecutorDispatcher.java 2009-01-07 16:00:51 UTC (rev 9884)
+++ trunk/src/ioc/org/jboss/seam/ioc/spring/SpringTaskExecutorDispatcher.java 2009-01-07 17:08:38 UTC (rev 9885)
@@ -60,9 +60,8 @@
protected Dispatcher<T, S> getScheduleDispatcher()
{
- Dispatcher<T, S> dispatcher = scheduleDispatcher.getValue();
- if (scheduleDispatcher == null || scheduleDispatcher.getValue() == null)
- {
+ Dispatcher<T, S> dispatcher = (scheduleDispatcher==null) ? null : scheduleDispatcher.getValue();
+ if (dispatcher == null) {
throw new IllegalStateException(
"SpringTaskExecutorDispatcher does not support scheduled Events. Provide a fallback scheduleDispatcher for timed events.");
}
More information about the seam-commits
mailing list