[YANGTOOLS-340] DerivableSchemaNode API incorrect Javadoc Created: 16/Oct/14  Updated: 10/Apr/22  Resolved: 17/Oct/14

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

Type: Bug
Reporter: Martin Ciglan Assignee: Martin Ciglan
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: 2202

 Description   

Interface DerivableSchemaNode, method getOriginal() contains incorrect Javadoc:

@return original node definition from grouping if this node is added by uses, null otherwise

Any implementation of this method never returns null. In fact, it returns Original.absent in case when parameter is null.

I propose this change:

@return original node definition from grouping if this node is added by uses, Optional.absent otherwise



 Comments   
Comment by Martin Ciglan [ 16/Oct/14 ]

https://git.opendaylight.org/gerrit/#/c/12006/

fix pushed

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