Author: shane.bryzak(a)jboss.com
Date: 2008-05-25 08:55:39 -0400 (Sun, 25 May 2008)
New Revision: 8282
Modified:
trunk/src/main/org/jboss/seam/Seam.java
Log:
removed unnecessary null check
Modified: trunk/src/main/org/jboss/seam/Seam.java
===================================================================
--- trunk/src/main/org/jboss/seam/Seam.java 2008-05-25 12:55:06 UTC (rev 8281)
+++ trunk/src/main/org/jboss/seam/Seam.java 2008-05-25 12:55:39 UTC (rev 8282)
@@ -51,8 +51,7 @@
{
return info;
}
- else if (clazz.getClassLoader() == null ||
- (clazz.getClassLoader() != null &&
!CLASSLOADERS_LOADED.contains(clazz.getClassLoader())))
+ else if (!CLASSLOADERS_LOADED.contains(clazz.getClassLoader()))
{
cacheEjbDescriptors(clazz);
return EJB_DESCRIPTOR_CACHE.get(clazz);