[YANGTOOLS-230] Change augmentation field visibility to default Created: 26/Jul/14  Updated: 10/Apr/22  Due: 22/Aug/14  Resolved: 29/Aug/14

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

Type: Improvement
Reporter: Dana Kutenicsova Assignee: Martin Vitez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC



 Description   

In any builder, agumentation field is private. Builder contains innerclass ...Impl that is accessing this field, resulting in inefficient behaviour:

This method of an inner class reads from or writes to a private member variable of the owning class. The compiler must generate a special method to access this private member, causing this to be less efficient. Relaxing the protection of the member variable will allow the compiler to treat this as a normal access.



 Comments   
Comment by Martin Vitez [ 19/Aug/14 ]

Proposed patch:

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

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