commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r201611 - /jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java
Date Fri, 24 Jun 2005 13:05:04 GMT
Author: jeremias
Date: Fri Jun 24 06:05:04 2005
New Revision: 201611

URL: http://svn.apache.org/viewcvs?rev=201611&view=rev
Log:
Fix a little style problem.

Modified:
    jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java

Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java?rev=201611&r1=201610&r2=201611&view=diff
==============================================================================
--- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java (original)
+++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java Fri
Jun 24 06:05:04 2005
@@ -297,7 +297,7 @@
             return normalize(fullFilenameToAdd);
         }
         char ch = basePath.charAt(len - 1);
-        if (isSeparator(basePath.charAt(len - 1))) {
+        if (isSeparator(ch)) {
             return normalize(basePath + fullFilenameToAdd);
         } else {
             return normalize(basePath + '/' + fullFilenameToAdd);



---------------------------------------------------------------------
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