[squeak-dev] The Trunk: Monticello-bp.412.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Nov 22 14:33:39 UTC 2010


Levente Uzonyi uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bp.412.mcz

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

Name: Monticello-bp.412
Author: bp
Time: 21 November 2010, 7:28:32.444 pm
UUID: 6cd35cbd-3caa-4830-8af4-3b9a94f73249
Ancestors: Monticello-bp.411

- use beginsWith: instead of the deprecated startsWith:

=============== Diff against Monticello-bp.411 ===============

Item was changed:
  ----- Method: MCVersionInfo>>nameWithout: (in category 'accessing') -----
  nameWithout: packageName
  	| result |
  	result := self name.
+ 	(result beginsWith: packageName , '-') ifTrue: [
- 	(result startsWith: packageName , '-') ifTrue: [
  		result := result copyFrom: packageName size + 2 to: result size].
  	^result!




More information about the Squeak-dev mailing list