Alright, thank you for the clarification! :-)<br>
<br>
Best,<br>
Christoph<br>
<br>
<font color="#808080">---<br>
</font><font color="#808080"><i>Sent from </i></font><font color="#808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><font color="#808080">Squeak Inbox Talk</font></u></a></i></font><br>
<br>
On 2022-02-25T11:25:48+01:00, marcel.taeumel@hpi.de wrote:<br>
<br>
> Yes, it makes sense to not use "#deprecate" at all but only "#deprecated". As long as #deprecated is still outside the Deprecated package, everybody knows that we still have to check for remaining senders and clean up. :-)<br>
> <br>
> Best,<br>
> Marcel<br>
> Am 24.02.2022 22:47:39 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:<br>
> Hi Marcel,<br>
> <br>
> when do we use "flag: #deprecate" and when "flag: #deprecated"? I thought that we would only use the latter to indicate that we did not yet risk inserting an actual "self deprecated" in the same place. :-)<br>
> <br>
> Best,<br>
> Christoph<br>
> Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel<br>
> Gesendet: Mittwoch, 9. Februar 2022 19:50:03<br>
> An: squeak-dev<br>
> Betreff: Re: [squeak-dev] The Trunk: Collections-mt.987.mcz<br>
>  <br>
> @Levente: Would you verify that this implementation in LimitedWriteStream is okay? Thanks. :-)<br>
> <br>
> Best,<br>
> Marcel<br>
> Am 09.02.2022 19:40:28 schrieb commits at source.squeak.org <commits at source.squeak.org>:<br>
> Marcel Taeumel uploaded a new version of Collections to project The Trunk:<br>
> http://source.squeak.org/trunk/Collections-mt.987.mcz<br>
> <br>
> ==================== Summary ====================<br>
> <br>
> Name: Collections-mt.987<br>
> Author: mt<br>
> Time: 9 February 2022, 7:40:16.073774 pm<br>
> UUID: 0e417f39-a88b-8045-bb6c-32a1024cfb27<br>
> Ancestors: Collections-mt.986<br>
> <br>
> Fixes regression in #printStringLimitedTo:. Minor code cleanup.<br>
> <br>
> =============== Diff against Collections-mt.986 ===============<br>
> <br>
> Item was changed:<br>
> ----- Method: Collection>>printOn:delimiter: (in category 'printing - obsolete') -----<br>
> printOn: aStream delimiter: delimString<br>
> <br>
> + self flag: #deprecated.<br>
> - self flag: #deprecate.<br>
> self<br>
> printElementsOn: aStream<br>
> separatedBy: delimString.!<br>
> <br>
> Item was changed:<br>
> ----- Method: Collection>>printOn:delimiter:last: (in category 'printing - obsolete') -----<br>
> printOn: aStream delimiter: delimString last: lastDelimString<br>
> "Print elements on a stream separated<br>
> with a delimiter between all the elements and with<br>
> a special one before the last like: 'a, b and c'<br>
> <br>
> Note: Feel free to improve the code to detect the last element."<br>
> <br>
> | n sz |<br>
> + self flag: #deprecated.<br>
> - self flag: #deprecate.<br>
> n := 1.<br>
> sz := self size.<br>
> self do: [:elem |<br>
> n := n + 1.<br>
> aStream print: elem]<br>
> separatedBy: [<br>
> n = sz<br>
> ifTrue: [aStream print: lastDelimString]<br>
> ifFalse: [aStream print: delimString]]!<br>
> <br>
> Item was added:<br>
> + ----- Method: LimitedWriteStream>>next:putAll:startingAt: (in category 'writing') -----<br>
> + next: anInteger putAll: aCollection startingAt: startIndex<br>
> + "Store the next anInteger elements from the given collection."<br>
> +<br>
> + | newEnd |<br>
> + anInteger > 0 ifFalse: [ ^aCollection ].<br>
> +<br>
> + newEnd := position + anInteger.<br>
> + newEnd > limit ifTrue: [<br>
> + super next: (limit - position max: 0) putAll: aCollection startingAt: startIndex.<br>
> + limitBlock value.<br>
> + ^ aCollection].<br>
> +<br>
> + ^ super next: anInteger putAll: aCollection startingAt: startIndex!<br>
> <br>
> Item was removed:<br>
> - ----- Method: String>>asExplorerString (in category 'user interface') -----<br>
> - asExplorerString<br>
> -<br>
> - ^ self printString!<br>
> <br>
> Item was removed:<br>
> - ----- Method: Symbol>>asExplorerString (in category 'user interface') -----<br>
> - asExplorerString<br>
> - ^ self printString!<br>
> <br>
> <br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220225/149ca395/attachment.html><br>
> <br>