[TSDR-66] TSC-101 Rename key() methods Created: 06/Jun/18  Updated: 13/Jun/18  Resolved: 13/Jun/18

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

Type: Bug Priority: Medium
Reporter: Scott Melton Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

As per the plan outlined in https://lists.opendaylight.org/pipermail/mdsal-dev/2018-March/001519.html we MD-SAL is delivering this item:

2) Replace org.opendaylight.yangtools.yang.binding.Identifiable.getKey()

The full details are in the email, bottom line for downstreams is:

The solution is to rename getKey() to key(). As all user-governed names in generated code is prefixed (with "is", "get" and similar), this will permanently solve this particular problem. Unfortunately it will also break all code which deals with getting/putting elements into keyed lists. The fix is a mechanical one and probably scriptable (but I am not much for writing scripts).


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