[jboss-cvs] JBossCache/src/org/jboss/cache/config ...
Manik Surtani
msurtani at jboss.com
Tue Jan 9 23:38:00 EST 2007
User: msurtani
Date: 07/01/09 23:38:00
Modified: src/org/jboss/cache/config Configuration.java
Log:
Updated cloning behaviour
Revision Changes Path
1.35 +4 -2 JBossCache/src/org/jboss/cache/config/Configuration.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Configuration.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/config/Configuration.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- Configuration.java 10 Jan 2007 02:05:04 -0000 1.34
+++ Configuration.java 10 Jan 2007 04:38:00 -0000 1.35
@@ -670,7 +670,9 @@
{
c.setRuntimeConfig((RuntimeConfig) runtimeConfig.clone());
// always make sure we reset the runtime when cloning.
- c.getRuntimeConfig().reset();
+ // c.getRuntimeConfig().reset();
+ // don't reset the runtime for now, just un-set the NodeFactory.
+ c.getRuntimeConfig().setNodeFactory(null);
}
return c;
}
More information about the jboss-cvs-commits
mailing list