FailedChanges

Summary

  1. Add new #printOneLineString and related methods (details)
Commit 862798cdaa726cc0b1bd44c13649e97c28bf47a0 by leonardo.cecchi
Add new #printOneLineString and related methods
It's nice to have a #printOneLineString that is just like #printString
but avoids printing CRs and LFs. This patch implements such idea adding
also a method named #printOnOneLine: which will get called with a
FilteringStream implementing the required behaviour.
The FilteringStream is used to replace CRs and LFs with a space, but can
also be used to filter elements going into a Stream via a generic block.
Fixes: #4849
The file was modifiedsrc/Kernel/Object.class.st (diff)
The file was addedsrc/Collections-Streams/FilteringStreamTest.class.st
The file was modifiedsrc/Kernel-Tests/ObjectTest.class.st (diff)
The file was addedsrc/Collections-Streams/FilteringStream.class.st