commit | 75e05a81366582417d54a04ef5204e9d76894271 | [log] [tgz] |
---|---|---|
author | Gary D. Gregory <ggregory@apache.org> | Fri Feb 08 20:47:35 2008 +0000 |
committer | Gary D. Gregory <ggregory@apache.org> | Fri Feb 08 20:47:35 2008 +0000 |
tree | f879e00f457e463334e9a4417a57491c18bc5d3d | |
parent | 2ed08896d273ad1d352874ce195537e3c74c1d60 [diff] |
Remove unnecessary cast from String to String. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@619999 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/java/org/apache/commons/io/FileSystemUtils.java b/src/java/org/apache/commons/io/FileSystemUtils.java index add261a..a0b7c88 100644 --- a/src/java/org/apache/commons/io/FileSystemUtils.java +++ b/src/java/org/apache/commons/io/FileSystemUtils.java
@@ -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(