[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Tue Jul 18 12:32:48 EDT 2006
User: msurtani
Date: 06/07/18 12:32:48
Modified: src/org/jboss/cache AbstractNode.java Fqn.java
Log:
JBCACHE-703
Revision Changes Path
1.18 +1 -1 JBossCache/src/org/jboss/cache/AbstractNode.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AbstractNode.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/AbstractNode.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- AbstractNode.java 21 Jun 2006 11:10:58 -0000 1.17
+++ AbstractNode.java 18 Jul 2006 16:32:48 -0000 1.18
@@ -45,7 +45,7 @@
*/
public Object getName()
{
- return fqn.getName();
+ return fqn.getLast();
}
/**
1.33 +13 -13 JBossCache/src/org/jboss/cache/Fqn.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Fqn.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/Fqn.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- Fqn.java 13 Jul 2006 09:35:44 -0000 1.32
+++ Fqn.java 18 Jul 2006 16:32:48 -0000 1.33
@@ -39,7 +39,7 @@
* The latter will result in 3 Fqns, called "a", "b" and "c", where "c" is a child of "b", "b" is a child of "a", and "a" hangs off Fqn.ROOT.
* <p />
* Another way to look at it is that the "/" separarator is only parsed when it form sa part of a String passed in to Fqn.fromString() and not otherwise.
- * @version $Revision: 1.32 $
+ * @version $Revision: 1.33 $
*/
public class Fqn implements Cloneable, Externalizable {
@@ -429,7 +429,7 @@
public String getName()
{
if (isRoot()) return SEPARATOR;
- else return String.valueOf(elements.get(elements.size() - 1));
+ else return String.valueOf(getLast());
}
/**
More information about the jboss-cvs-commits
mailing list