cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon Main.java
Date Mon, 26 Nov 2001 19:55:53 GMT
bloritsch    01/11/26 11:55:53

  Modified:    src/org/apache/cocoon Main.java
  Log:
  Fix index and tokenizer issues with null strings
  
  Revision  Changes    Path
  1.30      +2 -2      xml-cocoon2/src/org/apache/cocoon/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/Main.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- Main.java	2001/11/26 19:45:01	1.29
  +++ Main.java	2001/11/26 19:55:53	1.30
  @@ -35,7 +35,7 @@
    * Command line entry point.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.29 $ $Date: 2001/11/26 19:45:01 $
  + * @version CVS $Revision: 1.30 $ $Date: 2001/11/26 19:55:53 $
    */
   
   public class Main {
  @@ -506,7 +506,7 @@
           }
   
           String filename = (String)allTranslatedLinks.get(suri);
  -        if(filename == null){
  +        if(filename == null || "".equals(filename)){
               filename = mangle(suri);
               final String type = getType(deparameterizedURI, parameters);
               final String ext = NetUtils.getExtension(filename);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message