Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4073

enum files are still being generated with unused imports

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: Java - Compiler
    • Labels:
      None

      Description

      I love that import statements are no longer being generated, because it means less "unused imports" warnings from my compiler and checkstyle rules.

      However, it appears that the enum generation did not get as much care as class file generation. There still remain some import statements in enum files. All of them are unused because of the fully-qualified types being used instead, so they are safe to delete.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                ctubbsii Christopher Tubbs
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: