greenrd     01/02/06 04:29:50

  Modified:    src/org/apache/cocoon Utils.java
  Log:
  typos
  
  Revision  Changes    Path
  1.25      +3 -5      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.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- Utils.java        2001/02/05 18:41:52     1.24
  +++ Utils.java        2001/02/06 12:29:49     1.25
  @@ -1,4 +1,4 @@
  -/*-- $Id: Utils.java,v 1.24 2001/02/05 18:41:52 greenrd Exp $ --
  +/*-- $Id: Utils.java,v 1.25 2001/02/06 12:29:49 greenrd Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -66,7 +66,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Robin Green</a>
  - * @version $Revision: 1.24 $ $Date: 2001/02/05 18:41:52 $
  + * @version $Revision: 1.25 $ $Date: 2001/02/06 12:29:49 $
    */
   
   public final class Utils {
  @@ -336,7 +336,7 @@
               resource = new File(location);
           } else if (location.startsWith("resource://")) {
               String res = location.substring("resource://".length());
  -            resource = getClass ().getClassLoader ().getResource (res);
  +            resource = Utils.class.getClassLoader ().getResource (res);
               if (resource == null) {
                 resource = ClassLoader.getSystemResource(res);
               }
  @@ -362,7 +362,5 @@
               }
               return new File(location);
           } else return getLocationResource (location);
  -        
  -        return resource;
       }
   }
  
  
  

Reply via email to