| commit | f82792a63f0d2a20d3b8f347a9ad3d3f5ea10fee | [log] [tgz] |
|---|---|---|
| author | Roberto Lublinerman <rluble@google.com> | Fri May 02 10:42:56 2014 -0700 |
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri May 02 18:41:00 2014 +0000 |
| tree | 8385096eb2addd6b8e321457f36299ed4df5ca8e | |
| parent | 29f392b1a161411a56cc9801a11ac95a5a804468 [diff] |
Do not remove unused imports if unit has prior errors. In this situation JDT will return an incomplete AST and UnusedImportsRemover will (incorrectly) remove referred imports, triggering the error reporting logic to report errors of the form "<name> can not be resolved to a type" for the types whose imports were removed. Change-Id: I42642237b0df7e56b26041a729eff921d8bd2982