[squeak-dev] The Inbox: MonticelloConfigurations-cmm.116.mcz

Frank Shearar frank.shearar at gmail.com
Tue Oct 8 17:20:48 UTC 2013


On 8 October 2013 17:17,  <commits at source.squeak.org> wrote:
> A new version of MonticelloConfigurations was added to project The Inbox:
> http://source.squeak.org/inbox/MonticelloConfigurations-cmm.116.mcz
>
> ==================== Summary ====================
>
> Name: MonticelloConfigurations-cmm.116
> Author: cmm
> Time: 8 October 2013, 11:17:41.275 am
> UUID: 7fc9bf79-f791-4d78-adb8-beddd88b90bd
> Ancestors: MonticelloConfigurations-bf.115
>
> Persist MCConfiguration's 'name'.
>
> =============== Diff against MonticelloConfigurations-bf.115 ===============
>
> Item was changed:
>   ----- Method: MCConfiguration class>>fromArray: (in category 'instance creation') -----
>   fromArray: anArray
>         | configuration |
>         configuration := self new.
>         anArray pairsDo: [:key :value |
>                 key = #repository
>                         ifTrue: [configuration repositories add: (self repositoryFromArray: value)].
>                 key = #dependency
>                         ifTrue: [configuration dependencies add: (self dependencyFromArray: value)].
> +               key = #name
> +                       ifTrue: [configuration name: value].

This looks like a good candidate for a #caseOf:.

frank


More information about the Squeak-dev mailing list