activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r534050 - /activemq/branches/activemq-4.1/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java
Date Tue, 01 May 2007 13:04:06 GMT
Author: jstrachan
Date: Tue May  1 06:04:05 2007
New Revision: 534050

URL: http://svn.apache.org/viewvc?view=rev&rev=534050
Log:
Amended patch for AMQ-1235 to not depend on Java 6

Modified:
    activemq/branches/activemq-4.1/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java

Modified: activemq/branches/activemq-4.1/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java
URL: http://svn.apache.org/viewvc/activemq/branches/activemq-4.1/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java?view=diff&rev=534050&r1=534049&r2=534050
==============================================================================
--- activemq/branches/activemq-4.1/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java
(original)
+++ activemq/branches/activemq-4.1/activemq-core/src/main/java/org/apache/activemq/thread/Scheduler.java
Tue May  1 06:04:05 2007
@@ -52,8 +52,8 @@
         ScheduledFuture ticket = (ScheduledFuture) clockTickets.remove(task);
         if( ticket!=null ) {
             ticket.cancel(false);
-            if (ticket instanceof RunnableScheduledFuture)
-            	clockDaemon.remove((RunnableScheduledFuture) ticket);            
+            if (ticket instanceof Runnable)
+            	clockDaemon.remove((Runnable) ticket);            
         }
     }
 



Mime
View raw message