Changes

Summary

  1. - remove the #errorEmptyCollection in #atRandom on Collection, as we do (details)
Commit da0491ea255e5f887f5ea5696f32735845387781 by marcus.denker
- remove the #errorEmptyCollection in #atRandom on Collection, as we do
an emptyCheck in the first line - simplify Bag>>#atRandom: as described
in the issue tracker entry
We could simplidy Collection>>#atRadom more if we would have
withIndexDo: on Collection (and I really wonder why we do not have that)
fixes #5631
The file was modifiedsrc/Random-Core/Collection.extension.st (diff)
The file was modifiedsrc/Random-Core/Bag.extension.st (diff)

Summary

  1. - remove the #errorEmptyCollection in #atRandom on Collection, as we do (details)
Commit da0491ea255e5f887f5ea5696f32735845387781 by marcus.denker
- remove the #errorEmptyCollection in #atRandom on Collection, as we do
an emptyCheck in the first line - simplify Bag>>#atRandom: as described
in the issue tracker entry
We could simplidy Collection>>#atRadom more if we would have
withIndexDo: on Collection (and I really wonder why we do not have that)
fixes #5631
The file was modifiedsrc/Random-Core/Collection.extension.st (diff)
The file was modifiedsrc/Random-Core/Bag.extension.st (diff)