[squeak-dev] [Q][Squeak5.3a][ExternalPackage] FileList class>>#registerFileReader: has been deprecated --> How do I fix this?

Marcel Taeumel marcel.taeumel at hpi.de
Mon Jan 6 15:36:27 UTC 2020


Hi Hannes,

since we added "suppress" to the dialog, users can easily ignore that warning when loading older packages.

Still, we can change "self deprecated:" to "self flag: #deprecated" to avoid the debugger but keep the UI stuff.

Any thoughts on this?

Best,
Marcel
Am 09.09.2019 22:32:57 schrieb H. Hirzel <hannes.hirzel at gmail.com>:
Hello

When loading an external package I get the following feedback


FileList class>>#registerFileReader: has been deprecated.
FileList is not responsible for file reader registration anymore.
Use FileServices instead.


When I click on 'debug' I get



registeredFileReaderClasses

self deprecated: 'FileList is not responsible for file reader
registration anymore. Use FileServices instead.'.
FileReaderRegistry := nil. "wipe it out"
^FileServices registeredFileReaderClasses



How do I deal with this?


Old code?


New code?


Regards
Hannes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200106/c6505b64/attachment.html>


More information about the Squeak-dev mailing list