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

commits at source.squeak.org commits at source.squeak.org
Mon Oct 5 19:00:59 UTC 2009


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

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

Name: Collections-nice.160
Author: nice
Time: 5 October 2009, 9:00:19 am
UUID: 1b3f2a1c-082a-4f21-8b59-120d5610458a
Ancestors: Collections-nice.159

Finish clean-up from http://bugs.squeak.org/view.php?id=6395

=============== Diff against Collections-nice.159 ===============

Item was removed:
- ----- Method: Character>>asUnicodeChar (in category 'converting') -----
- asUnicodeChar
- 	"@@@ FIXME: Make this use asUnicode and move it to its lonely sender @@@"
- 	| table charset v |
- 	self leadingChar = 0 ifTrue: [^ value].
- 	charset := EncodedCharSet charsetAt: self leadingChar.
- 	charset isCharset ifFalse: [^ self].
- 	table := charset ucsTable.
- 	table isNil ifTrue: [^ Character value: 16rFFFD].
- 
- 	v := table at: self charCode + 1.
- 	v = -1 ifTrue: [^ Character value: 16rFFFD].
- 
- 	^ Character leadingChar: charset unicodeLeadingChar code: v.!




More information about the Squeak-dev mailing list