You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2017/02/08 03:39:41 UTC
[jira] [Created] (THRIFT-4073) enum files are still being generated
with unused imports
Christopher Tubbs created THRIFT-4073:
-----------------------------------------
Summary: enum files are still being generated with unused imports
Key: THRIFT-4073
URL: https://issues.apache.org/jira/browse/THRIFT-4073
Project: Thrift
Issue Type: Bug
Components: Java - Compiler
Affects Versions: 0.10.0
Reporter: Christopher Tubbs
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)