Skip to content

Commit 75e05a8

Browse files
committed
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
1 parent 2ed0889 commit 75e05a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/java/org/apache/commons/io/FileSystemUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ long freeSpaceUnix(String path, boolean kb, boolean posix) throws IOException {
334334
if (tok.countTokens() < 4) {
335335
// could be long Filesystem, thus data on third line
336336
if (tok.countTokens() == 1 && lines.size() >= 3) {
337-
String line3 = (String) lines.get(2); // the line may be interested in
337+
String line3 = lines.get(2); // the line may be interested in
338338
tok = new StringTokenizer(line3, " ");
339339
} else {
340340
throw new IOException(

0 commit comments

Comments
 (0)