Status: New
Owner: ----

New issue 3411 by [email protected]: FileDIrectory - search methods - unnecessary code & unclear use of read only
http://code.google.com/p/pharo/issues/detail?id=3411

In 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).



Reply via email to