[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
manik at jboss.org
Sun Jul 22 11:37:41 EDT 2007
User: msurtani
Date: 07/07/22 11:37:41
Modified: src/org/jboss/cache CacheImpl.java
Log:
No longer a defensive copy with getDataDirect
Revision Changes Path
1.106 +54 -53 JBossCache/src/org/jboss/cache/CacheImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -b -r1.105 -r1.106
--- CacheImpl.java 20 Jul 2007 14:47:01 -0000 1.105
+++ CacheImpl.java 22 Jul 2007 15:37:41 -0000 1.106
@@ -76,6 +76,7 @@
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
+import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
@@ -2269,7 +2270,7 @@
if (tx != null && create_undo_ops)
{
// erase and set to previous hashmap contents
- MethodCall undo_op = MethodCallFactory.create(MethodDeclarations.putDataEraseMethodLocal, tx, fqn, rawData, false, true);
+ MethodCall undo_op = MethodCallFactory.create(MethodDeclarations.putDataEraseMethodLocal, tx, fqn, new HashMap(rawData), false, true);
tx_table.addUndoOperation(tx, undo_op);
}
More information about the jboss-cvs-commits
mailing list