geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r109820 - /geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/Module.java
Date Sat, 04 Dec 2004 20:23:26 GMT
Author: jlaskowski
Date: Sat Dec  4 12:23:25 2004
New Revision: 109820

URL: http://svn.apache.org/viewcvs?view=rev&rev=109820
Log:
Avoid NullPointerException
Modified:
   geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/Module.java

Modified: geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/Module.java
Url: http://svn.apache.org/viewcvs/geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/Module.java?view=diff&rev=109820&p1=geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/Module.java&r1=109819&p2=geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/Module.java&r2=109820
==============================================================================
--- geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/Module.java
(original)
+++ geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/Module.java
Sat Dec  4 12:23:25 2004
@@ -39,6 +39,8 @@
     private final String originalSpecDD;
 
     protected Module(boolean standAlone, URI configId, URI parentId, JarFile moduleFile,
String targetPath, XmlObject specDD, XmlObject vendorDD, String originalSpecDD) {
+        assert targetPath != null: "targetPath is null";
+
         this.standAlone = standAlone;
         this.configId = configId;
         this.parentId = parentId;

Mime
View raw message