[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/pojo/notification ...

Jason Thomas Greene jgreene at jboss.com
Mon Jul 2 21:45:58 EDT 2007


  User: jgreene 
  Date: 07/07/02 21:45:58

  Modified:    tests/functional/org/jboss/cache/pojo/notification 
                        Listener.java
  Log:
  Mark this class as not thread safe
  
  Revision  Changes    Path
  1.3       +5 -2      JBossCache/tests/functional/org/jboss/cache/pojo/notification/Listener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Listener.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/notification/Listener.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- Listener.java	29 Jun 2007 04:34:01 -0000	1.2
  +++ Listener.java	3 Jul 2007 01:45:58 -0000	1.3
  @@ -25,6 +25,8 @@
   import java.util.LinkedList;
   import java.util.Queue;
   
  +import net.jcip.annotations.NotThreadSafe;
  +
   import org.jboss.cache.pojo.notification.annotation.Attached;
   import org.jboss.cache.pojo.notification.annotation.Detached;
   import org.jboss.cache.pojo.notification.annotation.FieldModified;
  @@ -34,14 +36,15 @@
   import org.jboss.cache.pojo.notification.annotation.SetModified;
   import org.jboss.cache.pojo.notification.event.Event;
   
  -// $Id: Listener.java,v 1.2 2007/06/29 04:34:01 jgreene Exp $
  +// $Id: Listener.java,v 1.3 2007/07/03 01:45:58 jgreene Exp $
   
   /**
  - * A recoding Listener for notification test package.
  + * A recoding Listener for notification test package. This is not thread safe, just for testing.
    *
    * @author Jason T. Greene
    */
   @PojoCacheListener
  + at NotThreadSafe
   public class Listener
   {
      private Queue<Event> events = new LinkedList<Event>();
  
  
  



More information about the jboss-cvs-commits mailing list