[jboss-cvs] JBossCache/src/org/jboss/cache ...

Manik Surtani msurtani at jboss.com
Tue Jul 18 12:25:07 EDT 2006


  User: msurtani
  Date: 06/07/18 12:25:07

  Modified:    src/org/jboss/cache   Tag: Branch_JBossCache_1_4_0
                        AbstractNode.java Fqn.java
  Log:
  JBCACHE-703
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.16.2.1  +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.16
  retrieving revision 1.16.2.1
  diff -u -b -r1.16 -r1.16.2.1
  --- AbstractNode.java	13 Apr 2006 00:19:31 -0000	1.16
  +++ AbstractNode.java	18 Jul 2006 16:25:07 -0000	1.16.2.1
  @@ -45,7 +45,7 @@
       */
      public Object getName()
      {
  -      return fqn.getName();
  +      return fqn.getLast(); 
      }
   
      /**
  
  
  
  1.31.2.2  +2 -2      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.31.2.1
  retrieving revision 1.31.2.2
  diff -u -b -r1.31.2.1 -r1.31.2.2
  --- Fqn.java	11 Jul 2006 10:03:42 -0000	1.31.2.1
  +++ Fqn.java	18 Jul 2006 16:25:07 -0000	1.31.2.2
  @@ -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.31.2.1 $
  + * @version $Revision: 1.31.2.2 $
    */
   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