[YANGTOOLS-25] Add @SuppressWarnings("unused") to generated classes Created: 27/Sep/13  Updated: 10/Apr/22  Resolved: 02/Oct/13

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

Type: Bug
Reporter: Robert Varga Assignee: Unassigned
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: 87

 Description   

Generated classes often import packages which are not really used in the implementation, leading to a huge number of warnings being generated in projects. This hides other, important warnings.

Add @SuppressWarnings("unused") to the generated class, such that this does not generates warnings. Proper fix, though, would see the imports eliminated to keep the sources clean.



 Comments   
Comment by Martin Vitez [ 02/Oct/13 ]

Fixed in binding-generator version 0.6.0-SNAPSHOT.

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

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