[prev in list] [next in list] [prev in thread] [next in thread]
List: turbine-torque-dev
Subject: [jira] [Created] (TORQUE-310) add simple way to remove unused imports
From: "Thomas Fox (JIRA)" <jira () apache ! org>
Date: 2014-02-26 14:35:22
Message-ID: JIRA.12697374.1393425318103.108781.1393425322296 () arcas
[Download RAW message or body]
Thomas Fox created TORQUE-310:
---------------------------------
Summary: add simple way to remove unused imports
Key: TORQUE-310
URL: https://issues.apache.org/jira/browse/TORQUE-310
Project: Torque
Issue Type: Bug
Reporter: Thomas Fox
Fix For: 4.1
One could check for lines starting with "import" and then check whether these \
imported Strings occur at another place in the file. If not, it should be safe to \
remove the import line. This does not work in all situations, e.g. if the Class name \
occurs in a commoent but nowhere else (then the import is not removed though it \
should be), but should be good enough for 99% of cases.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic