cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/util IOUtils.java
Date Thu, 14 Sep 2000 11:08:11 GMT
pier        00/09/14 04:08:10

  Modified:    src/org/apache/cocoon/util Tag: xml-cocoon2 IOUtils.java
  Log:
  Please don't use System resources, as we're TOTALLY unaware of the classloader used.
  (Fix 2 towards class loading issues)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.5   +2 -2      xml-cocoon/src/org/apache/cocoon/util/Attic/IOUtils.java
  
  Index: IOUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/util/Attic/IOUtils.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- IOUtils.java	2000/09/06 23:22:26	1.1.2.4
  +++ IOUtils.java	2000/09/14 11:08:08	1.1.2.5
  @@ -25,7 +25,7 @@
    * utility methods
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version CVS $Revision: 1.1.2.4 $ $Date: 2000/09/06 23:22:26 $
  + * @version CVS $Revision: 1.1.2.5 $ $Date: 2000/09/14 11:08:08 $
    */
   public class IOUtils {
     /**
  @@ -49,7 +49,7 @@
   	getFullFilename(file).replace(File.separatorChar, '/')
         );
       } else if (location.startsWith("resource://")) {
  -      return ClassUtils.getClassLoader().getSystemResource(
  +      return ClassUtils.getClassLoader().getResource(
           location.substring("resource://".length())
         );
       } else {
  
  
  

Mime
View raw message