Return-Path: Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 33576 invoked by uid 1010); 21 Jul 2000 23:38:26 -0000 Date: 21 Jul 2000 23:38:26 -0000 Message-ID: <20000721233826.33575.qmail@locus.apache.org> From: stefano@locus.apache.org To: xml-cocoon-cvs@apache.org Subject: cvs commit: xml-cocoon/src/org/apache/cocoon Utils.java stefano 00/07/21 16:38:26 Modified: src/org/apache/cocoon Utils.java Log: no message Revision Changes Path 1.17 +3 -3 xml-cocoon/src/org/apache/cocoon/Utils.java Index: Utils.java =================================================================== RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Utils.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- Utils.java 2000/06/04 20:03:35 1.16 +++ Utils.java 2000/07/21 23:38:26 1.17 @@ -1,4 +1,4 @@ -/*-- $Id: Utils.java,v 1.16 2000/06/04 20:03:35 balld Exp $ -- +/*-- $Id: Utils.java,v 1.17 2000/07/21 23:38:26 stefano Exp $ -- ============================================================================ The Apache Software License, Version 1.1 @@ -61,7 +61,7 @@ * Utility methods for Cocoon and its classes. * * @author Stefano Mazzocchi - * @version $Revision: 1.16 $ $Date: 2000/06/04 20:03:35 $ + * @version $Revision: 1.17 $ $Date: 2000/07/21 23:38:26 $ */ public final class Utils { @@ -248,7 +248,7 @@ String resource = ((ServletContext) context).getRealPath(path); if (resource != null) { - return resource.replace('\\', '/'); + return resource.replace('\\','/'); } else { throw new RuntimeException("Cannot access non-file/war resources"); }