[squeak-dev] #clearCredentials vs. ModificationForbidden

Jakob Reschke forums.jakob at resfarm.de
Fri Jun 5 15:53:30 UTC 2020


Use becomeForward: and collect garbage?

Marcel Taeumel <marcel.taeumel at hpi.de> schrieb am Fr., 5. Juni 2020, 16:27:

> Hi all!
>
> How to update MCHttpRepository >> #clearCredentials?
>
> clearCredentials
> user ifNotNil: [user atAllPut: $x].
> password ifNotNil: [password atAllPut: $x].
> user := password := String empty
>
> Make those strings not be read-only?
>
> Best,
> Marcel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200605/7bdb03f9/attachment.html>


More information about the Squeak-dev mailing list