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

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Wed Oct 8 00:01:16 UTC 2008


A new version of SystemEditor was added to project SystemEditor:
http://www.squeaksource.com/SystemEditor/SystemEditor-mtf.127.mcz

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

Name: SystemEditor-mtf.127
Author: mtf
Time: 7 October 2008, 10:54:10 am
UUID: 8ff18dcf-d1de-4a12-a7e4-2783cf9bf661
Ancestors: SystemEditor-mtf.126

fixed a few bugs in the Categorizer build method

=============== Diff against SystemEditor-mtf.126 ===============

Item was changed:
  ----- Method: CategorizerEditor>>edBuild (in category 'building') -----
  edBuild
  	| result processed newCat |
+ 	result := self productClass defaultList: Array new.
- 	result := self productClass new.
  	result categories: categories.
  	self changedElementsAndCategoriesDo: [:ea :cat |
  		result classify: ea under: cat].
+ 	processed := IdentitySet new 
+ 		addAll: result elementArray;
+ 		addAll: self removedElements;
+ 		yourself.
- 	processed := (result elementArray, self removedElements) asSet.
  	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