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

Galder Zamarreno galder.zamarreno at jboss.com
Tue Sep 26 10:15:23 EDT 2006


  User: gzamarreno
  Date: 06/09/26 10:15:23

  Modified:    src/org/jboss/cache/interceptors  Tag:
                        Branch_JBossCache_1_4_0 CacheLoaderInterceptor.java
  Log:
  [JBCACHE-777] The level of the CacheLoader WARN message (when using custom) regarding new CacheLoader contract has changed to INFO. The message is still needed for customers to be aware of the CacheLoader interface contract changes added with JBC 1.3.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.40.2.1  +5 -5      JBossCache/src/org/jboss/cache/interceptors/CacheLoaderInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheLoaderInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/CacheLoaderInterceptor.java,v
  retrieving revision 1.40
  retrieving revision 1.40.2.1
  diff -u -b -r1.40 -r1.40.2.1
  --- CacheLoaderInterceptor.java	12 Jun 2006 20:24:31 -0000	1.40
  +++ CacheLoaderInterceptor.java	26 Sep 2006 14:15:23 -0000	1.40.2.1
  @@ -20,7 +20,7 @@
   /**
    * Loads nodes that don't exist at the time of the call into memory from the CacheLoader
    * @author Bela Ban
  - * @version $Id: CacheLoaderInterceptor.java,v 1.40 2006/06/12 20:24:31 msurtani Exp $
  + * @version $Id: CacheLoaderInterceptor.java,v 1.40.2.1 2006/09/26 14:15:23 gzamarreno Exp $
    */
   public class CacheLoaderInterceptor extends BaseCacheLoaderInterceptor implements CacheLoaderInterceptorMBean
   {
  @@ -438,10 +438,10 @@
      }
   
      private void warnCustom() {
  -      log.warn("CacheLoader.get(Fqn) returned a null; assuming the node nodes not exist.");
  -      log.warn("The CacheLoader interface has changed since JBossCache 1.3.x");
  -      log.warn("Please see http://jira.jboss.com/jira/browse/JBCACHE-118");
  -      log.warn("CacheLoader.get() should return an empty Map if the node does exist but doesn't have any attributes.");
  +      log.info("CacheLoader.get(Fqn) returned a null; assuming the node does not exist.");
  +      log.info("The CacheLoader interface has changed since JBossCache 1.3.x");
  +      log.info("Please see http://jira.jboss.com/jira/browse/JBCACHE-118");
  +      log.info("CacheLoader.get() should return an empty Map if the node does exist but doesn't have any attributes.");
      }
   
   }
  
  
  



More information about the jboss-cvs-commits mailing list