Mercurial > jhg
comparison src/org/tmatesoft/hg/util/FileWalker.java @ 139:f3c387ea0a34
clean obsolete comment
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Wed, 16 Feb 2011 22:28:29 +0100 |
| parents | a3a2e5deb320 |
| children | 8248aae33f7d |
comparison
equal
deleted
inserted
replaced
| 138:bb1d02f9eff6 | 139:f3c387ea0a34 |
|---|---|
| 31 private final LinkedList<File> dirQueue; | 31 private final LinkedList<File> dirQueue; |
| 32 private final LinkedList<File> fileQueue; | 32 private final LinkedList<File> fileQueue; |
| 33 private File nextFile; | 33 private File nextFile; |
| 34 private String nextPath; | 34 private String nextPath; |
| 35 | 35 |
| 36 // FilenameFilter is used in a non-standard way - first argument, dir, is always startDir, | |
| 37 // while second arg, name, is startDir-relative path to the file in question | |
| 38 public FileWalker(File startDir) { | 36 public FileWalker(File startDir) { |
| 39 this.startDir = startDir; | 37 this.startDir = startDir; |
| 40 dirQueue = new LinkedList<File>(); | 38 dirQueue = new LinkedList<File>(); |
| 41 fileQueue = new LinkedList<File>(); | 39 fileQueue = new LinkedList<File>(); |
| 42 reset(); | 40 reset(); |
