[jboss-cvs] jboss-ejb3/src/main/org/jboss/ejb3/interceptor ...
Ales Justin
ales.justin at genera-lynx.com
Mon Jul 24 07:39:23 EDT 2006
User: alesj
Date: 06/07/24 07:39:23
Modified: src/main/org/jboss/ejb3/interceptor
InterceptorInfoRepository.java
Log:
String equals.
Revision Changes Path
1.16 +17 -27 jboss-ejb3/src/main/org/jboss/ejb3/interceptor/InterceptorInfoRepository.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InterceptorInfoRepository.java
===================================================================
RCS file: /cvsroot/jboss/jboss-ejb3/src/main/org/jboss/ejb3/interceptor/InterceptorInfoRepository.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- InterceptorInfoRepository.java 19 Jun 2006 14:13:43 -0000 1.15
+++ InterceptorInfoRepository.java 24 Jul 2006 11:39:22 -0000 1.16
@@ -21,31 +21,6 @@
*/
package org.jboss.ejb3.interceptor;
-import java.lang.annotation.Annotation;
-import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.LinkedHashSet;
-import java.util.List;
-import java.util.Set;
-import java.util.concurrent.ConcurrentHashMap;
-import java.util.concurrent.ConcurrentMap;
-
-import javax.interceptor.AroundInvoke;
-import javax.interceptor.ExcludeClassInterceptors;
-import javax.interceptor.ExcludeDefaultInterceptors;
-import javax.interceptor.InvocationContext;
-import javax.ejb.PostActivate;
-import javax.annotation.PostConstruct;
-import javax.annotation.PreDestroy;
-import javax.ejb.PrePassivate;
-
import org.jboss.ejb3.EJBContainer;
import org.jboss.ejb3.metamodel.EjbJarDD;
import org.jboss.ejb3.metamodel.Interceptor;
@@ -53,6 +28,21 @@
import org.jboss.ejb3.metamodel.Interceptors;
import org.jboss.logging.Logger;
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.ejb.PostActivate;
+import javax.ejb.PrePassivate;
+import javax.interceptor.AroundInvoke;
+import javax.interceptor.ExcludeClassInterceptors;
+import javax.interceptor.ExcludeDefaultInterceptors;
+import javax.interceptor.InvocationContext;
+import java.lang.annotation.Annotation;
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
+import java.util.*;
+import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.ConcurrentMap;
+
/**
* A repository of interceptor details shared amongst all containers in this deployment.
* Interceptors differ from other ejb 3 artifacts in that we can have annotations on the
@@ -63,7 +53,7 @@
* Interceptors only declared by using @Interceptors on the bean class get added on demand.<BR/>
*
* @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 1.15 $
+ * @version $Revision: 1.16 $
*/
public class InterceptorInfoRepository
{
@@ -372,7 +362,7 @@
private InterceptorInfo initialiseSuperClassesFirstFromXmlOrAnnotations(
HashMap<String, AnnotationInitialiser> initialisers, String superClassName)
{
- if (superClassName == "java.lang.Object")
+ if ("java.lang.Object".equals(superClassName))
{
return null;
}
More information about the jboss-cvs-commits
mailing list