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

Elias Ross genman at noderunner.net
Wed Feb 7 17:06:56 EST 2007


  User: genman  
  Date: 07/02/07 17:06:56

  Modified:    src/org/jboss/cache/pojo/impl  PojoCacheImpl.java
  Log:
  JBCACHE-969 - Move transaction classes to org.jboss.cache.transaction
  
  Revision  Changes    Path
  1.4       +4 -4      JBossCache/src/org/jboss/cache/pojo/impl/PojoCacheImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoCacheImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/impl/PojoCacheImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- PojoCacheImpl.java	31 Jan 2007 02:40:20 -0000	1.3
  +++ PojoCacheImpl.java	7 Feb 2007 22:06:56 -0000	1.4
  @@ -42,7 +42,7 @@
    * Implementation class for PojoCache interface
    *
    * @author Ben Wang
  - * @version $Id: PojoCacheImpl.java,v 1.3 2007/01/31 02:40:20 msurtani Exp $
  + * @version $Id: PojoCacheImpl.java,v 1.4 2007/02/07 22:06:56 genman Exp $
    */
   public class PojoCacheImpl implements PojoCache, Observer
   {
  @@ -212,7 +212,7 @@
      public Map findAll(Fqn id) throws PojoCacheException
      {
         // Should produce "/"
  -      if (id == null) id = Fqn.fromString(null);
  +      if (id == null) id = Fqn.ROOT;
   
         try
         {
  @@ -306,7 +306,7 @@
      public Cache getCache()
      {
         // TODO Need to return the real Cache interface later on.
  -      return (Cache) cache_;
  +      return cache_;
      }
   
      /**
  @@ -362,7 +362,7 @@
         {
            for (Iterator it = listeners.iterator(); it.hasNext();)
            {
  -            ((PojoCacheListener) it.next()).modify((Object) subject, modifiedField, pre, isLocal);
  +            ((PojoCacheListener) it.next()).modify(subject, modifiedField, pre, isLocal);
            }
         }
   
  
  
  



More information about the jboss-cvs-commits mailing list