[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/impl ...

Ben Wang bwang at jboss.com
Thu Jul 13 12:53:12 EDT 2006


  User: bwang   
  Date: 06/07/13 12:53:12

  Modified:    src-50/org/jboss/cache/pojo/impl    InternalHelper.java
                        SerializableObjectHandler.java
  Removed:     src-50/org/jboss/cache/pojo/impl    InternalConstant.java
  Log:
  Minor stuffs
  
  Revision  Changes    Path
  1.2       +3 -2      JBossCache/src-50/org/jboss/cache/pojo/impl/InternalHelper.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InternalHelper.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/impl/InternalHelper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- InternalHelper.java	13 Jul 2006 15:56:12 -0000	1.1
  +++ InternalHelper.java	13 Jul 2006 16:53:12 -0000	1.2
  @@ -15,6 +15,7 @@
   import org.jboss.cache.pojo.util.ObjectUtil;
   import org.jboss.cache.pojo.PojoTreeCache;
   import org.jboss.cache.pojo.PojoReference;
  +import org.jboss.cache.pojo.InternalConstant;
   
   import java.util.Map;
   
  @@ -30,7 +31,7 @@
      // This is an optimization flag to skip put lock when we are sure that it has been locked from
      // putObject. However, if later on there are transactional field updates, then we we will need
      // this off to protected the write lock.
  -   private boolean cacheOperationSkipLocking = true;
  +   private boolean cacheOperationSkipLocking_ = true;
      private Option skipLockOption_;
      private Option gravitateOption_;
      private Option localModeOption_;
  @@ -42,7 +43,7 @@
         cache_ = cache;
   
         skipLockOption_ = new Option();
  -      if (cacheOperationSkipLocking)
  +      if (cacheOperationSkipLocking_)
         {
            skipLockOption_.setSuppressLocking(true);
         } else
  
  
  
  1.2       +5 -4      JBossCache/src-50/org/jboss/cache/pojo/impl/SerializableObjectHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SerializableObjectHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/impl/SerializableObjectHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- SerializableObjectHandler.java	13 Jul 2006 15:56:12 -0000	1.1
  +++ SerializableObjectHandler.java	13 Jul 2006 16:53:12 -0000	1.2
  @@ -13,6 +13,7 @@
   import org.jboss.cache.Fqn;
   import org.jboss.cache.pojo.PojoTreeCache;
   import org.jboss.cache.pojo.PojoReference;
  +import org.jboss.cache.pojo.InternalConstant;
   
   import java.util.HashMap;
   import java.util.Map;
  @@ -21,14 +22,14 @@
    * Handle Serializable object cache management.
    *
    * @author Ben Wang
  - * @version $Id: SerializableObjectHandler.java,v 1.1 2006/07/13 15:56:12 bwang Exp $
  + * @version $Id: SerializableObjectHandler.java,v 1.2 2006/07/13 16:53:12 bwang Exp $
    */
   class SerializableObjectHandler
   {
      private PojoTreeCache cache_;
      private PojoCacheImpl pCache_;
      private InternalHelper internal_;
  -   private final Log log = LogFactory.getLog(SerializableObjectHandler.class);
  +   private final Log log_ = LogFactory.getLog(SerializableObjectHandler.class);
   
      public SerializableObjectHandler(PojoCacheImpl cache, InternalHelper internal)
      {
  @@ -49,9 +50,9 @@
              throws CacheException
      {
           // Note that JBoss Serialization can serialize any type now.
  -         if (log.isDebugEnabled())
  +         if (log_.isDebugEnabled())
            {
  -            log.debug("putObject(): obj (" + obj.getClass() + ") is non-advisable but serialize it anyway. "
  +            log_.debug("putObject(): obj (" + obj.getClass() + ") is non-advisable but serialize it anyway. "
               + "Note that if it is non-serializable we require to use JBoss Serialization.");
            }
   
  
  
  



More information about the jboss-cvs-commits mailing list