[Pkg] The Trunk: Collections-topa.664.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Oct 8 18:27:12 UTC 2015


Tobias Pape uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-topa.664.mcz

==================== Summary ====================

Name: Collections-topa.664
Author: topa
Time: 8 October 2015, 8:26:53.881 pm
UUID: 4a54b921-445f-4539-81df-137d1f575110
Ancestors: Collections-topa.662, Collections-cmm.663

Deprecated nextPutKeyword:withArg: and oldBack

=============== Diff against Collections-cmm.663 ===============

Item was removed:
- ----- Method: PositionableStream>>oldBack (in category 'accessing') -----
- oldBack
- 	"Go back one element and return it.  Use indirect messages in case I am a StandardFileStream"
- 	"The method is a misconception about what a stream is. A stream contains a pointer *between* elements with past and future elements. This method considers that the pointer is *on* an element. Please consider unit tests which verifies #back and #oldBack behavior. (Damien Cassou - 1 August 2007)"
- 	self position = 0 ifTrue: [self errorCantGoBack].
- 	self position = 1 ifTrue: [self position: 0.  ^ nil].
- 	self skip: -2.
- 	^ self next
- !

Item was removed:
- ----- Method: WriteStream>>nextPutKeyword:withArg: (in category 'character writing') -----
- nextPutKeyword: keyword withArg: argValue
- 	"Emit a keyword/value pair in the alternate syntax"
- 
- 	self nextPutAll: (keyword copyWithout: $:);
- 		nextPut: $(;
- 		store: argValue;
- 		nextPut: $)!



More information about the Packages mailing list