[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Wed Jan 10 15:09:05 EST 2007
User: msurtani
Date: 07/01/10 15:09:05
Modified: src/org/jboss/cache VersionedNode.java
UnversionedNode.java
Log:
Removed unused ctors
Revision Changes Path
1.6 +2 -9 JBossCache/src/org/jboss/cache/VersionedNode.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: VersionedNode.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/VersionedNode.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- VersionedNode.java 4 Jan 2007 05:35:39 -0000 1.5
+++ VersionedNode.java 10 Jan 2007 20:09:05 -0000 1.6
@@ -18,9 +18,7 @@
*/
public class VersionedNode extends UnversionedNode
{
-
private DataVersion version;
-
/**
* Although this object has a reference to the CacheImpl, the optimistic
* node is actually disconnected from the CacheImpl itself.
@@ -28,19 +26,14 @@
*/
private NodeSPI parent;
- public VersionedNode(Object childName, Fqn fqn, NodeSPI parent, Map data, boolean mapSafe, CacheSPI cache)
+ public VersionedNode(Object childName, Fqn fqn, NodeSPI parent, Map data, CacheSPI cache)
{
- super(childName, fqn, data, mapSafe, cache);
+ super(childName, fqn, data, false, cache);
if (parent == null && !fqn.isRoot()) throw new NullPointerException("parent");
this.parent = parent;
this.version = DefaultDataVersion.ZERO;
}
- public VersionedNode(Object childName, Fqn fqn, NodeSPI parent, Map data, CacheSPI cache)
- {
- this(childName, fqn, parent, data, false, cache);
- }
-
/**
* Returns the version id of this node.
*
1.18 +1 -21 JBossCache/src/org/jboss/cache/UnversionedNode.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UnversionedNode.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/UnversionedNode.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- UnversionedNode.java 10 Jan 2007 12:24:56 -0000 1.17
+++ UnversionedNode.java 10 Jan 2007 20:09:05 -0000 1.18
@@ -72,27 +72,7 @@
*/
public UnversionedNode()
{
- this(Fqn.ROOT);
- }
-
- /**
- * Constructs a new node with an FQN.
- */
- public UnversionedNode(Fqn fqn)
- {
- this.fqn = fqn;
- }
-
- /**
- * Constructs a new node with a name, etc.
- */
- public UnversionedNode(Object child_name, Fqn fqn, Map data, CacheSPI cache)
- {
- init(child_name, fqn, cache);
- if (data != null)
- {
- this.data.putAll(data);
- }
+ this.fqn = Fqn.ROOT;
}
/**
More information about the jboss-cvs-commits
mailing list