[seam-commits] Seam SVN: r8282 - trunk/src/main/org/jboss/seam.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sun May 25 08:55:39 EDT 2008


Author: shane.bryzak at 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);




More information about the seam-commits mailing list