[Pkg] The Trunk: PackageInfo-Base-cmm.51.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 12 20:17:03 UTC 2011

Chris Muller uploaded a new version of PackageInfo-Base to project The Trunk:

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

Name: PackageInfo-Base-cmm.51
Author: cmm
Time: 12 January 2011, 1:53:18.512 pm
UUID: 80594283-3394-46ac-ba2f-bf1ba20885a5
Ancestors: PackageInfo-Base-cmm.50

- Added unnecessary, but appropriate #yourself.

=============== Diff against PackageInfo-Base-cmm.50 ===============

Item was changed:
  ----- Method: PackageInfo class>>named: (in category 'packages access') -----
  named: aString 
  	"Answer the PackageInfo with name aString."
  	| original replacement |
  	original := PackageOrganizer default
  				packageNamed: aString
  				ifAbsent: [].
  	^ (original isNil
  			or: [original class
  					~= (self classFor: aString)])
  		ifTrue: [replacement := self newNamed: aString.
  				ifNotNil: [replacement copySameFrom: original].
+ 			replacement register; yourself]
- 			replacement register]
  		ifFalse: [original]!

More information about the Packages mailing list