[YANGTOOLS-1069] Deprecate SchemaNode.getPath() Created: 15/Jan/20 Updated: 26/Mar/20 Resolved: 26/Mar/20 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0 |
| Type: | Story | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Get rid of SchemaNode.getPath() |
| Description |
|
Deprecate SchemaNode.getPath(), so that we flag any and all users of this method. Change its contract to:
@Deprecated
SchemaPath getPath() throws UnsupportedOperationException;
and document the fact that implementations may throw UOE.
|