geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment WebAppLoader.java
Date Mon, 17 Nov 2003 00:19:46 GMT
dain        2003/11/16 16:19:46

  Modified:    modules/core/src/java/org/apache/geronimo/xml/deployment
                        WebAppLoader.java
  Log:
  Fixed typo where method was not declared static
  
  Revision  Changes    Path
  1.3       +3 -10     incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/WebAppLoader.java
  
  Index: WebAppLoader.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/WebAppLoader.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WebAppLoader.java	17 Sep 2003 01:47:15 -0000	1.2
  +++ WebAppLoader.java	17 Nov 2003 00:19:46 -0000	1.3
  @@ -56,14 +56,7 @@
   package org.apache.geronimo.xml.deployment;
   
   import org.apache.geronimo.deployment.model.web.WebApp;
  -import org.apache.geronimo.deployment.model.j2ee.EnvEntry;
  -import org.apache.geronimo.deployment.model.j2ee.EJBRef;
  -import org.apache.geronimo.deployment.model.j2ee.EJBLocalRef;
  -import org.apache.geronimo.deployment.model.j2ee.ServiceRef;
  -import org.apache.geronimo.deployment.model.j2ee.ResourceRef;
  -import org.apache.geronimo.deployment.model.j2ee.ResourceEnvRef;
  -import org.apache.geronimo.deployment.model.j2ee.MessageDestinationRef;
  -import org.apache.geronimo.deployment.model.j2ee.MessageDestination;
  +
   import org.w3c.dom.Document;
   import org.w3c.dom.Element;
   
  @@ -76,7 +69,7 @@
       public WebAppLoader() {
       }
   
  -    public WebApp load(Document doc) {
  +    public static WebApp load(Document doc) {
           Element root = doc.getDocumentElement();
           if (!"web-app".equals(root.getLocalName())) {
               throw new IllegalArgumentException("Document is not a web-app instance");
  
  
  

Mime
View raw message