[jboss-cvs] JBossAS SVN: r69908 - projects/microcontainer/trunk/classloading/src/main/org/jboss/classloading/spi/dependency.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 18 15:39:10 EST 2008


Author: alesj
Date: 2008-02-18 15:39:10 -0500 (Mon, 18 Feb 2008)
New Revision: 69908

Modified:
   projects/microcontainer/trunk/classloading/src/main/org/jboss/classloading/spi/dependency/Module.java
Log:
Typo on if and instance check.

Modified: projects/microcontainer/trunk/classloading/src/main/org/jboss/classloading/spi/dependency/Module.java
===================================================================
--- projects/microcontainer/trunk/classloading/src/main/org/jboss/classloading/spi/dependency/Module.java	2008-02-18 20:25:18 UTC (rev 69907)
+++ projects/microcontainer/trunk/classloading/src/main/org/jboss/classloading/spi/dependency/Module.java	2008-02-18 20:39:10 UTC (rev 69908)
@@ -316,7 +316,7 @@
          Requirement requirement = item.getRequirement();
          
          // If we are looking at everything or this is a re-export
-         if (reExport == false || requirement.isReExport());
+         if (reExport == false || requirement.isReExport())
          {
             // Sanity checks
             if (item.isResolved() == false)
@@ -331,7 +331,7 @@
                throw new IllegalStateException("No iDependOn for item: " + item);
             }
             Module iDependOnModule = checkDomain().getModule(name);
-            if (module == null)
+            if (iDependOnModule == null)
                throw new IllegalStateException("Module not found with name: " + name);
 
             // Determine the delegate loader for the module




More information about the jboss-cvs-commits mailing list