You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bl...@apache.org on 2001/11/26 20:55:53 UTC

cvs commit: xml-cocoon2/src/org/apache/cocoon Main.java

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