commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r619999 - /commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java
Date Fri, 08 Feb 2008 20:47:36 GMT
Author: ggregory
Date: Fri Feb  8 12:47:35 2008
New Revision: 619999

URL: http://svn.apache.org/viewvc?rev=619999&view=rev
Log:
Remove unnecessary cast from String to String.

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

Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java?rev=619999&r1=619998&r2=619999&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java Fri Feb  8
12:47:35 2008
@@ -334,7 +334,7 @@
         if (tok.countTokens() < 4) {
             // could be long Filesystem, thus data on third line
             if (tok.countTokens() == 1 && lines.size() >= 3) {
-                String line3 = (String) lines.get(2); // the line may be interested in
+                String line3 = lines.get(2); // the line may be interested in
                 tok = new StringTokenizer(line3, " ");
             } else {
                 throw new IOException(



Mime
View raw message