User: binaryfeed
  Date: 02/03/06 20:38:34

  Modified:    src/main/org/jboss/util TimedCachePolicy.java
  Log:
  Fixing threadSafe flag!
  
  Revision  Changes    Path
  1.2       +3 -3      jboss-common/src/main/org/jboss/util/TimedCachePolicy.java
  
  Index: TimedCachePolicy.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-common/src/main/org/jboss/util/TimedCachePolicy.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TimedCachePolicy.java     16 Feb 2002 12:34:26 -0000      1.1
  +++ TimedCachePolicy.java     7 Mar 2002 04:38:34 -0000       1.2
  @@ -24,7 +24,7 @@
       until they are accessed.
   
       @author <a href="mailto:[EMAIL PROTECTED]";>Scott Stark</a>.
  -    @version $Revision: 1.1 $
  +    @version $Revision: 1.2 $
   */
   public class TimedCachePolicy
      extends TimerTask
  @@ -114,9 +114,9 @@
      public void create()
      {
         if( threadSafe )
  -         entryMap = new HashMap();
  -      else
            entryMap = Collections.synchronizedMap(new HashMap());
  +      else
  +         entryMap = new HashMap();
         now = System.currentTimeMillis();
      }
      /** Schedules this with the class resolutionTimer Timer object for
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to