[jbosscache-commits] JBoss Cache SVN: r5535 - core/trunk/src/main/java/org/jboss/cache/marshall.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Fri Apr 11 13:34:14 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-04-11 13:34:14 -0400 (Fri, 11 Apr 2008)
New Revision: 5535

Modified:
   core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
Log:
Added todo

Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java	2008-04-11 17:22:15 UTC (rev 5534)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java	2008-04-11 17:34:14 UTC (rev 5535)
@@ -291,6 +291,8 @@
       }
       else if (o instanceof MethodCall || o instanceof CacheCommand)
       {
+         // TODO: throw an exception if we ever attempt to marshall a MethodCall.  MethodCalls should not be used hereafter, and should be rewritten as a lean wrapper around a JGroups method call for interfacing with JGroups APIs.
+
          // first see if this is a 'known' method call.
          MethodCall call = null;
          if (o instanceof CacheCommand)




More information about the jbosscache-commits mailing list