geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r512801 - /geronimo/server/trunk/modules/geronimo-client-builder/src/main/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java
Date Wed, 28 Feb 2007 15:29:55 GMT
Author: sppatel
Date: Wed Feb 28 07:29:54 2007
New Revision: 512801

URL: http://svn.apache.org/viewvc?view=rev&rev=512801
Log:
temporarily comment out block as "id" is currently unused and causes an NPE if appclient contains
no dd

Modified:
    geronimo/server/trunk/modules/geronimo-client-builder/src/main/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java

Modified: geronimo/server/trunk/modules/geronimo-client-builder/src/main/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-client-builder/src/main/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java?view=diff&rev=512801&r1=512800&r2=512801
==============================================================================
--- geronimo/server/trunk/modules/geronimo-client-builder/src/main/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-client-builder/src/main/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java
Wed Feb 28 07:29:54 2007
@@ -348,7 +348,7 @@
     }
 
     private GerApplicationClientType createDefaultPlan(String name, ApplicationClientType
appClient, boolean standAlone, Environment environment) {
-        String id = appClient.getId();
+        /*String id = appClient.getId();
         if (id == null) {
             id = name;
             if (id.endsWith(".jar")) {
@@ -357,7 +357,7 @@
             if (id.endsWith("/")) {
                 id = id.substring(0, id.length() - 1);
             }
-        }
+        }*/
 
         GerApplicationClientType geronimoAppClient = GerApplicationClientType.Factory.newInstance();
         EnvironmentType clientEnvironmentType = geronimoAppClient.addNewClientEnvironment();



Mime
View raw message