activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r427020 - in /incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter: AsyncToSyncChannelServer.java SyncToAsyncChannelServer.java
Date Mon, 31 Jul 2006 05:52:32 GMT
Author: aco
Date: Sun Jul 30 22:52:31 2006
New Revision: 427020

URL: http://svn.apache.org/viewvc?rev=427020&view=rev
Log:
Fix possible wrong type checking

Modified:
    incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncToSyncChannelServer.java
    incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/SyncToAsyncChannelServer.java

Modified: incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncToSyncChannelServer.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncToSyncChannelServer.java?rev=427020&r1=427019&r2=427020&view=diff
==============================================================================
--- incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncToSyncChannelServer.java
(original)
+++ incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncToSyncChannelServer.java
Sun Jul 30 22:52:31 2006
@@ -58,7 +58,7 @@
         }
 
         // Can we just just undo the adaptor
-        if( channel.getClass() == SyncToAsyncChannel.class ) {
+        if( channel.getClass() == SyncToAsyncChannelServer.class ) {
             return ((SyncToAsyncChannelServer)channel).getSynchChannelServer();
         }
         

Modified: incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/SyncToAsyncChannelServer.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/SyncToAsyncChannelServer.java?rev=427020&r1=427019&r2=427020&view=diff
==============================================================================
--- incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/SyncToAsyncChannelServer.java
(original)
+++ incubator/activemq/trunk/activeio/activeio-core/src/main/java/org/apache/activeio/adapter/SyncToAsyncChannelServer.java
Sun Jul 30 22:52:31 2006
@@ -62,7 +62,7 @@
         }
 
         // Can we just just undo the adaptor
-        if( channel.getClass() == SyncToAsyncChannel.class ) {
+        if( channel.getClass() == AsyncToSyncChannelServer.class ) {
             return ((AsyncToSyncChannelServer)channel).getAsyncChannelServer();
         }
         



Mime
View raw message