You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2008/02/08 21:47:36 UTC
svn commit: r619999 -
/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java
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(