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

Manik Surtani manik at jboss.org
Wed May 23 06:28:53 EDT 2007


  User: msurtani
  Date: 07/05/23 06:28:53

  Modified:    src/org/jboss/cache/pojo/annotation       Tx.java
                        Detach.java TxUndo.java Attach.java Find.java
                        CheckIdValidity.java
  Log:
  Initiated a bunch of performance fixes, including replacing CopyOnWriteArraySets with org.jboss.cache.util.concurrent.ConcurrentHashSet.
  Also ran an imports optimiser on the code base - there were a lot of unused imports floating about.
  
  Revision  Changes    Path
  1.2       +4 -4      JBossCache/src/org/jboss/cache/pojo/annotation/Tx.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Tx.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/annotation/Tx.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Tx.java	13 Jan 2007 15:55:05 -0000	1.1
  +++ Tx.java	23 May 2007 10:28:53 -0000	1.2
  @@ -7,16 +7,16 @@
   
   package org.jboss.cache.pojo.annotation;
   
  -import java.lang.annotation.Inherited;
  +import java.lang.annotation.ElementType;
   import java.lang.annotation.Retention;
   import java.lang.annotation.RetentionPolicy;
   import java.lang.annotation.Target;
  -import java.lang.annotation.ElementType;
   
  -/** Annotation for PojoCache interceptor stack. This one checks for tx.
  +/**
  + * Annotation for PojoCache interceptor stack. This one checks for tx.
    *
    * @author Ben Wang
  - * @version $Id: Tx.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
  + * @version $Id: Tx.java,v 1.2 2007/05/23 10:28:53 msurtani Exp $
    */
   @Retention(RetentionPolicy.RUNTIME)
   @Target(ElementType.METHOD)
  
  
  
  1.2       +4 -3      JBossCache/src/org/jboss/cache/pojo/annotation/Detach.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Detach.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/annotation/Detach.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Detach.java	13 Jan 2007 15:55:05 -0000	1.1
  +++ Detach.java	23 May 2007 10:28:53 -0000	1.2
  @@ -7,15 +7,16 @@
   
   package org.jboss.cache.pojo.annotation;
   
  +import java.lang.annotation.ElementType;
   import java.lang.annotation.Retention;
   import java.lang.annotation.RetentionPolicy;
   import java.lang.annotation.Target;
  -import java.lang.annotation.ElementType;
   
  -/** Annotation for PojoCache interceptor stack. This one checks for tx.
  +/**
  + * Annotation for PojoCache interceptor stack. This one checks for tx.
    *
    * @author Ben Wang
  - * @version $Id: Detach.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
  + * @version $Id: Detach.java,v 1.2 2007/05/23 10:28:53 msurtani Exp $
    */
   @Retention(RetentionPolicy.RUNTIME)
   @Target(ElementType.METHOD)
  
  
  
  1.2       +4 -3      JBossCache/src/org/jboss/cache/pojo/annotation/TxUndo.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TxUndo.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/annotation/TxUndo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- TxUndo.java	13 Jan 2007 15:55:05 -0000	1.1
  +++ TxUndo.java	23 May 2007 10:28:53 -0000	1.2
  @@ -7,15 +7,16 @@
   
   package org.jboss.cache.pojo.annotation;
   
  +import java.lang.annotation.ElementType;
   import java.lang.annotation.Retention;
   import java.lang.annotation.RetentionPolicy;
   import java.lang.annotation.Target;
  -import java.lang.annotation.ElementType;
   
  -/** Annotation for PojoCache interceptor stack. This one annotates method to provide rollback operation.
  +/**
  + * Annotation for PojoCache interceptor stack. This one annotates method to provide rollback operation.
    *
    * @author Ben Wang
  - * @version $Id: TxUndo.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
  + * @version $Id: TxUndo.java,v 1.2 2007/05/23 10:28:53 msurtani Exp $
    */
   @Retention(RetentionPolicy.RUNTIME)
   @Target(ElementType.METHOD)
  
  
  
  1.2       +4 -3      JBossCache/src/org/jboss/cache/pojo/annotation/Attach.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Attach.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/annotation/Attach.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Attach.java	13 Jan 2007 15:55:05 -0000	1.1
  +++ Attach.java	23 May 2007 10:28:53 -0000	1.2
  @@ -7,15 +7,16 @@
   
   package org.jboss.cache.pojo.annotation;
   
  +import java.lang.annotation.ElementType;
   import java.lang.annotation.Retention;
   import java.lang.annotation.RetentionPolicy;
   import java.lang.annotation.Target;
  -import java.lang.annotation.ElementType;
   
  -/** Annotation for PojoCache interceptor stack. This one checks for tx.
  +/**
  + * Annotation for PojoCache interceptor stack. This one checks for tx.
    *
    * @author Ben Wang
  - * @version $Id: Attach.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
  + * @version $Id: Attach.java,v 1.2 2007/05/23 10:28:53 msurtani Exp $
    */
   @Retention(RetentionPolicy.RUNTIME)
   @Target(ElementType.METHOD)
  
  
  
  1.2       +4 -3      JBossCache/src/org/jboss/cache/pojo/annotation/Find.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Find.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/annotation/Find.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Find.java	13 Jan 2007 15:55:05 -0000	1.1
  +++ Find.java	23 May 2007 10:28:53 -0000	1.2
  @@ -7,15 +7,16 @@
   
   package org.jboss.cache.pojo.annotation;
   
  +import java.lang.annotation.ElementType;
   import java.lang.annotation.Retention;
   import java.lang.annotation.RetentionPolicy;
   import java.lang.annotation.Target;
  -import java.lang.annotation.ElementType;
   
  -/** Annotation for PojoCache interceptor stack. This one checks for tx.
  +/**
  + * Annotation for PojoCache interceptor stack. This one checks for tx.
    *
    * @author Ben Wang
  - * @version $Id: Find.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
  + * @version $Id: Find.java,v 1.2 2007/05/23 10:28:53 msurtani Exp $
    */
   @Retention(RetentionPolicy.RUNTIME)
   @Target(ElementType.METHOD)
  
  
  
  1.2       +4 -4      JBossCache/src/org/jboss/cache/pojo/annotation/CheckIdValidity.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CheckIdValidity.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/annotation/CheckIdValidity.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- CheckIdValidity.java	13 Jan 2007 15:55:05 -0000	1.1
  +++ CheckIdValidity.java	23 May 2007 10:28:53 -0000	1.2
  @@ -7,16 +7,16 @@
   
   package org.jboss.cache.pojo.annotation;
   
  +import java.lang.annotation.ElementType;
   import java.lang.annotation.Retention;
   import java.lang.annotation.RetentionPolicy;
   import java.lang.annotation.Target;
  -import java.lang.annotation.ElementType;
  -import java.lang.annotation.Inherited;
   
  -/** Annotation for PojoCache interceptor stack. This one to check id validity.
  +/**
  + * Annotation for PojoCache interceptor stack. This one to check id validity.
    *
    * @author Ben Wang
  - * @version $Id: CheckIdValidity.java,v 1.1 2007/01/13 15:55:05 bwang Exp $
  + * @version $Id: CheckIdValidity.java,v 1.2 2007/05/23 10:28:53 msurtani Exp $
    */
   @Retention(RetentionPolicy.RUNTIME)
   @Target(ElementType.METHOD)
  
  
  



More information about the jboss-cvs-commits mailing list