[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 |
||
| 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: |