Status: New
Owner: ----
New issue 3411 by
[hidden email]: FileDIrectory - search methods -
unnecessary code & unclear use of read only
http://code.google.com/p/pharo/issues/detail?id=3411In FileDirectory, category 'search', the method:
withAllFilesDo: fileStreamBlock andDirectoriesDo: directoryBlock
- has a line that I think does nothing: directoryBlock value: dir.
- inexplicably makes reference to read only files for reasons that are not
encapsulated in the method title, and which appear to be irrelevant to the
purpose. (Well, I can't see the point!)
That method is called from the method:
filesContaining: searchString caseSensitive: aBoolean
- but that is apparently unused (there are no senders).