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

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Wed Apr 23 09:48:36 EDT 2008


Author: mircea.markus
Date: 2008-04-23 09:48:36 -0400 (Wed, 23 Apr 2008)
New Revision: 5648

Modified:
   core/trunk/src/main/java/org/jboss/cache/interceptors/MarshalledValueInterceptor.java
Log:
JBCACHE-1222 - bug fixing - marshalling

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/MarshalledValueInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/MarshalledValueInterceptor.java	2008-04-23 13:48:34 UTC (rev 5647)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/MarshalledValueInterceptor.java	2008-04-23 13:48:36 UTC (rev 5648)
@@ -58,8 +58,8 @@
       Set<MarshalledValue> marshalledValues = new HashSet<MarshalledValue>();
       if (!MarshalledValueHelper.isTypeExcluded(command.getKey().getClass()))
       {
-         Object value = createAndAddMarshalledValue(command.getKey(), marshalledValues, ctx);
-         command.setValue(value);
+         Object newKey = createAndAddMarshalledValue(command.getKey(), marshalledValues, ctx);
+         command.setKey(newKey);
       }
       if (!MarshalledValueHelper.isTypeExcluded(command.getValue().getClass()))
       {




More information about the jbosscache-commits mailing list