Author: sebb
Date: Thu Mar  6 16:50:16 2008
New Revision: 634483

URL: http://svn.apache.org/viewvc?rev=634483&view=rev
Log:
Fix raw type

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=634483&r1=634482&r2=634483&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 
Thu Mar  6 16:50:16 2008
@@ -222,14 +222,14 @@
         String[] cmdAttribs = new String[] {"cmd.exe", "/C", "dir /-c " + 
path};
         
         // read in the output of the command to an ArrayList
-        List lines = performCommand(cmdAttribs, Integer.MAX_VALUE);
+        List<String> lines = performCommand(cmdAttribs, Integer.MAX_VALUE);
         
         // now iterate over the lines we just read and find the LAST
         // non-empty line (the free space bytes should be in the last element
         // of the ArrayList anyway, but this will ensure it works even if it's
         // not, still assuming it is on the last non-blank line)
         for (int i = lines.size() - 1; i >= 0; i--) {
-            String line = (String) lines.get(i);
+            String line = lines.get(i);
             if (line.length() > 0) {
                 return parseDir(line, path);
             }


Reply via email to