[YANGTOOLS-563] Mutable/ImmutableOffsetMap do not conform to their promised contract Created: 17/Dec/15  Updated: 10/Apr/22  Resolved: 08/Jan/16

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4803

 Description   

The current implementation does not correctly retain iteration order, even though it promises to do so (and is used in those contexts).

Furthermore the implementation retains KeySet from the original map if such a mapping does not exist.

And the .equals() implementation does not conform to Map.equals() contract.



 Comments   
Comment by Robert Varga [ 17/Dec/15 ]

Fix for #equals(): https://git.opendaylight.org/gerrit/31519

Comment by Robert Varga [ 22/Dec/15 ]

https://git.opendaylight.org/gerrit/31782
https://git.opendaylight.org/gerrit/31519
https://git.opendaylight.org/gerrit/31703
https://git.opendaylight.org/gerrit/31704
https://git.opendaylight.org/gerrit/31705
https://git.opendaylight.org/gerrit/31711
https://git.opendaylight.org/gerrit/31725
https://git.opendaylight.org/gerrit/31726
https://git.opendaylight.org/gerrit/31766

Generated at Wed Feb 07 20:53:37 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.