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

Manik Surtani msurtani at jboss.com
Thu Nov 16 12:27:43 EST 2006


  User: msurtani
  Date: 06/11/16 12:27:43

  Modified:    src/org/jboss/cache/marshall  MethodDeclarations.java
  Log:
  Added a workaround for version mapping for move methods
  
  Revision  Changes    Path
  1.23      +7 -1      JBossCache/src/org/jboss/cache/marshall/MethodDeclarations.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MethodDeclarations.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/MethodDeclarations.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- MethodDeclarations.java	13 Nov 2006 14:20:32 -0000	1.22
  +++ MethodDeclarations.java	16 Nov 2006 17:27:43 -0000	1.23
  @@ -30,7 +30,7 @@
    * allowing lookup operations both ways.
    *
    * @author <a href="galder.zamarreno at jboss.com">Galder Zamarreno</a>
  - * @version $Revision: 1.22 $
  + * @version $Revision: 1.23 $
    */
   public class MethodDeclarations
   {
  @@ -433,6 +433,9 @@
                  return removeKeyVersionedMethodLocal;
               case removeNodeMethodLocal_id:
                  return removeNodeVersionedMethodLocal;
  +               // TODO: add versioning for MOVE() as this is a hack for the moment.
  +            case moveMethodLocal_id:
  +               return moveMethodLocal;
               default:
                  throw new RuntimeException("Unrecognised method id " + methodId);
            }
  @@ -464,6 +467,9 @@
                  return removeKeyMethodLocal;
               case removeNodeVersionedMethodLocal_id:
                  return removeNodeMethodLocal;
  +               // TODO: add versioning for MOVE() as this is a hack for the moment.
  +            case moveMethodLocal_id:
  +               return moveMethodLocal;
               default:
                  throw new RuntimeException("Unrecognised method id " + methodId);
            }
  
  
  



More information about the jboss-cvs-commits mailing list