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

Manik Surtani manik at jboss.org
Sat Mar 17 15:11:03 EDT 2007


  User: msurtani
  Date: 07/03/17 15:11:03

  Modified:    src/org/jboss/cache/marshall  MethodDeclarations.java
  Log:
  Ported fixes relating to releasing 1.4.1.SP3 to HEAD.
  
  Revision  Changes    Path
  1.37      +8 -2      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.36
  retrieving revision 1.37
  diff -u -b -r1.36 -r1.37
  --- MethodDeclarations.java	28 Feb 2007 18:22:54 -0000	1.36
  +++ MethodDeclarations.java	17 Mar 2007 19:11:03 -0000	1.37
  @@ -8,10 +8,10 @@
   
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  +import org.jboss.cache.CacheException;
   import org.jboss.cache.CacheImpl;
   import org.jboss.cache.Fqn;
   import org.jboss.cache.Node;
  -import org.jboss.cache.CacheException;
   import org.jboss.cache.buddyreplication.BuddyGroup;
   import org.jboss.cache.lock.NodeLock;
   import org.jboss.cache.optimistic.DataVersion;
  @@ -32,7 +32,7 @@
    * allowing lookup operations both ways.
    *
    * @author <a href="galder.zamarreno at jboss.com">Galder Zamarreno</a>
  - * @version $Revision: 1.36 $
  + * @version $Revision: 1.37 $
    */
   public class MethodDeclarations
   {
  @@ -432,6 +432,12 @@
         return putMethodIds.contains(id);
      }
   
  +   public static boolean isGetMethod(int methodId)
  +   {
  +      return methodId == getChildrenNamesMethodLocal_id || methodId == getDataMapMethodLocal_id || methodId == existsMethod_id
  +             || methodId == getKeysMethodLocal_id || methodId == getKeyValueMethodLocal_id || methodId == getNodeMethodLocal_id;
  +   }
  +
      public static boolean isBlockUnblockMethod(int id)
      {
         return blockUnblockMethodIds.contains(id);
  
  
  



More information about the jboss-cvs-commits mailing list