tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader WebappClassLoader.java
Date Thu, 11 Dec 2003 16:41:28 GMT
jfarcand    2003/12/11 08:41:28

  Modified:    catalina/src/share/org/apache/catalina/loader
                        WebappClassLoader.java
  Log:
  Minor fix. Avoid creating two array.
  
  Revision  Changes    Path
  1.29      +3 -3      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java
  
  Index: WebappClassLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- WebappClassLoader.java	10 Dec 2003 23:45:39 -0000	1.28
  +++ WebappClassLoader.java	11 Dec 2003 16:41:28 -0000	1.29
  @@ -1436,12 +1436,12 @@
               }
   
               repositoryURLs = urls;
  -            return repositoryURLs;
   
           } catch (MalformedURLException e) {
               repositoryURLs = new URL[0];
  -            return (new URL[0]);
           }
  +
  +        return repositoryURLs;
   
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message