[squeak-dev] The Trunk: Collections-nice.580.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jul 28 20:43:26 UTC 2014


Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.580.mcz

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

Name: Collections-nice.580
Author: nice
Time: 28 July 2014, 10:42:04.046 pm
UUID: 5f8aabc7-d706-48e6-8d68-e591c6d00176
Ancestors: Collections-nice.579

peekLast commit and try again...

=============== Diff against Collections-nice.579 ===============

Item was changed:
  ----- Method: RWBinaryOrTextStream>>peekLast (in category 'accessing') -----
  peekLast
  	"Return that item just put at the end of the stream"
  
  	^ position > 0 
  		ifTrue: [self isBinary
+ 			ifTrue: [(collection at: position) asInteger]
+ 			ifFalse: [(collection at: position) asCharacter]]
- 			ifTrue: [(collection at: position) asCharacter]
- 			ifFalse: [(collection at: position) asInteger]]
  		ifFalse: [nil]!



More information about the Squeak-dev mailing list