commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ep...@apache.org
Subject cvs commit: jakarta-commons/configuration/src/java/org/apache/commons/configuration ClassPropertiesConfiguration.java
Date Sat, 13 Mar 2004 17:31:40 GMT
epugh       2004/03/13 09:31:40

  Modified:    configuration/src/java/org/apache/commons/configuration
                        ClassPropertiesConfiguration.java
  Log:
  PMD fix
  
  Revision  Changes    Path
  1.5       +1 -7      jakarta-commons/configuration/src/java/org/apache/commons/configuration/ClassPropertiesConfiguration.java
  
  Index: ClassPropertiesConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/ClassPropertiesConfiguration.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ClassPropertiesConfiguration.java	27 Feb 2004 17:41:35 -0000	1.4
  +++ ClassPropertiesConfiguration.java	13 Mar 2004 17:31:40 -0000	1.5
  @@ -84,12 +84,6 @@
           throws IOException
       {
           InputStream resource = null;
  -        //For backwards compatibility with earlier versions, 
  -        //strip a leading "./" from the 
  -            if (resourceName.startsWith("./"))
  -            {
  -                //classPath.append(resourceName.substring(2));
  -            }
           
           //First try to load from within the package of the provided class
           resource = baseClass.getResourceAsStream(resourceName);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message