/[classpath]/classpath/javax/swing/filechooser/FileSystemView.java
ViewVC logotype

Diff of /classpath/javax/swing/filechooser/FileSystemView.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3.2.2 by gnu_andrew, Tue Aug 2 20:12:37 2005 UTC revision 1.3.2.3 by gnu_andrew, Tue Sep 20 18:46:33 2005 UTC
# Line 143  public abstract class FileSystemView Line 143  public abstract class FileSystemView
143      for (int i = 0; i < files.length; i++)      for (int i = 0; i < files.length; i++)
144        if (! files[i].isHidden())        if (! files[i].isHidden())
145          trim.add(files[i]);          trim.add(files[i]);
146      File[] value = (File[]) trim.toArray(new File[0]);      File[] value = (File[]) trim.toArray(new File[trim.size()]);
147      return value;      return value;
148    }    }
149    
# Line 356  public abstract class FileSystemView Line 356  public abstract class FileSystemView
356      // traversable. (No files are listed when you traverse the directory)      // traversable. (No files are listed when you traverse the directory)
357      // My best guess is that as long as it's a directory, the file is      // My best guess is that as long as it's a directory, the file is
358      // traversable.      // traversable.
359      return new Boolean(f.isDirectory());      return Boolean.valueOf(f.isDirectory());
360    }    }
361  }  }

Legend:
Removed from v.1.3.2.2  
changed lines
  Added in v.1.3.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26