Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-alpha1
-
None
-
None
Description
ColorGroup.color_counts is a public mutable List.
Also the List is re-sorted in several places
It looks like the field is only used within the package, so can be package protected.
However it seems odd that the shared list is re-sorted by
MedianCutLongestAxisImplementation.doCut
and
MedianCutMostPopulatedBoxesImplementation.performNextMedianCut (twice)
Attachments
Issue Links
- is related to
-
IMAGING-117 Classes should not expose mutable arrays
- Closed
- links to