Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-25

Add @SuppressWarnings("unused") to generated classes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: