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

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Tue Feb 5 20:48:38 EST 2008


Author: manik.surtani at jboss.com
Date: 2008-02-05 20:48:37 -0500 (Tue, 05 Feb 2008)
New Revision: 5307

Modified:
   core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
Log:
Missed a useRefs condition

Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java	2008-02-06 01:19:52 UTC (rev 5306)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java	2008-02-06 01:48:37 UTC (rev 5307)
@@ -133,7 +133,7 @@
       }
       else
       {
-         UnmarshalledReferences refMap = new UnmarshalledReferences();
+         UnmarshalledReferences refMap = useRefs ? new UnmarshalledReferences() : null;
          Object retValue = unmarshallObject(in, defaultClassLoader, refMap);
          if (trace) log.trace("Unmarshalled object " + retValue);
          return retValue;




More information about the jbosscache-commits mailing list