You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2002/06/06 02:17:27 UTC

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler TldLocationsCache.java

remm        2002/06/05 17:17:26

  Modified:    jasper/src/share/org/apache/jasper/compiler Tag:
                        tomcat_40_branch TldLocationsCache.java
  Log:
  - getResourcePaths now returns null if the path does not exist.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.9.2.2   +3 -0      jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/TldLocationsCache.java
  
  Index: TldLocationsCache.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/TldLocationsCache.java,v
  retrieving revision 1.9.2.1
  retrieving revision 1.9.2.2
  diff -u -r1.9.2.1 -r1.9.2.2
  --- TldLocationsCache.java	2 Apr 2002 16:11:12 -0000	1.9.2.1
  +++ TldLocationsCache.java	6 Jun 2002 00:17:26 -0000	1.9.2.2
  @@ -200,6 +200,9 @@
       {
   
           Set libSet = ctxt.getResourcePaths("/WEB-INF/lib");
  +        if (libSet == null) {
  +            return;
  +        }
           Iterator it = libSet.iterator();
           while (it.hasNext()) {
               String resourcePath = (String) it.next();
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>