Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-RC-1
-
Fix Version/s: 1.0-RC-1
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
PicoContainer.getComponentAdapters() returns an unmodifiable collection, while PicoContainer.getComponentAdaptersOfType() currently returns a modifiable list. I suggest for safety and consistency that the returned list be made unmodifiable.
Activity
Leo Simons
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | unmodifiableList-for-DefaultPicoContainer.patch.txt [ 11931 ] |
Jörg Schaible
made changes -
Fix Version/s | 1.0-RC-1 [ 10461 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
patch to implement the requested behaviour and add a test that checks it.