Author: shane.bryzak(a)jboss.com
Date: 2008-05-25 08:55:06 -0400 (Sun, 25 May 2008)
New Revision: 8281
Modified:
branches/Seam_2_0/src/main/org/jboss/seam/Seam.java
Log:
removed unnecessary null check
Modified: branches/Seam_2_0/src/main/org/jboss/seam/Seam.java
===================================================================
--- branches/Seam_2_0/src/main/org/jboss/seam/Seam.java 2008-05-25 00:26:51 UTC (rev
8280)
+++ branches/Seam_2_0/src/main/org/jboss/seam/Seam.java 2008-05-25 12:55:06 UTC (rev
8281)
@@ -48,8 +48,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);