[Pkg] SystemEditor: SystemEditor-mtf.146.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Sun Oct 26 16:19:24 UTC 2008

A new version of SystemEditor was added to project SystemEditor:

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

Name: SystemEditor-mtf.146
Author: mtf
Time: 26 October 2008, 9:20:25 am
UUID: 8c868838-f701-44cd-9a9a-2fb054b62644
Ancestors: SystemEditor-mtf.142

fixed a bug with empty categorizers

=============== Diff against SystemEditor-mtf.142 ===============

Item was changed:
  ----- Method: CategorizerEditor>>edBuild (in category 'building') -----
  	| result processed newCat |
  	result := self productClass defaultList: Array new.
+ 	categories ifNotEmpty: [result categories: categories].
- 	result categories: categories.
  	self changedElementsAndCategoriesDo: [:ea :cat |
  		result classify: ea under: cat].
  	self subject ifNil: [^ result].
  	processed := IdentitySet new 
  		addAll: result elementArray;
  		addAll: self removedElements;
  	self subject categories do: [:oldCat |
  		newCat := self newCategoryFor: oldCat.
  		(subject listAtCategoryNamed: oldCat) do: [:ea |
  			(processed includes: ea) ifFalse: [
  				result classify: ea under: newCat]]].
  	^ result!

More information about the Packages mailing list