[jbosscache-commits] JBoss Cache SVN: r6824 - core/branches/1.4.X/src/org/jboss/cache/loader.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Thu Oct 2 03:47:38 EDT 2008
Author: manik.surtani at jboss.com
Date: 2008-10-02 03:47:38 -0400 (Thu, 02 Oct 2008)
New Revision: 6824
Modified:
core/branches/1.4.X/src/org/jboss/cache/loader/JDBCCacheLoader.java
Log:
Fixed broken cl
Modified: core/branches/1.4.X/src/org/jboss/cache/loader/JDBCCacheLoader.java
===================================================================
--- core/branches/1.4.X/src/org/jboss/cache/loader/JDBCCacheLoader.java 2008-10-01 15:10:23 UTC (rev 6823)
+++ core/branches/1.4.X/src/org/jboss/cache/loader/JDBCCacheLoader.java 2008-10-02 07:47:38 UTC (rev 6824)
@@ -365,7 +365,7 @@
*/
public void put(Fqn name, Map attributes) throws Exception
{
- put(name, attributes, true);
+ put(name, attributes, false);
}
public void put(List modifications) throws Exception
@@ -924,7 +924,7 @@
- final void put(Fqn name, Map attributes, boolean override) throws Exception
+ final void put(Fqn name, Map attributes, boolean erase) throws Exception
{
// JBCACHE-769 -- make a defensive copy
Map attrs = (attributes == null ? null : new HashMap(attributes));
@@ -935,7 +935,7 @@
Map oldNode = loadNode(name);
if(oldNode != null)
{
- if(!override && oldNode != NULL_NODE_IN_ROW && attrs != null)
+ if(!erase && oldNode != NULL_NODE_IN_ROW && attrs != null)
{
Map newOne = new HashMap(oldNode);
if(attrs != null) newOne.putAll(attrs);
More information about the jbosscache-commits
mailing list