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

enum files are still being generated with unused imports

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.11.0
    • Java - Compiler
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: