You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2018/08/20 11:57:00 UTC
[jira] [Updated] (DRILL-6677) Check style reports JavaDocs imports
only statements as unused
[ https://issues.apache.org/jira/browse/DRILL-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitalii Diravka updated DRILL-6677:
-----------------------------------
Summary: Check style reports JavaDocs imports only statements as unused (was: Check style unused import check conflicts with Eclipse)
> Check style reports JavaDocs imports only statements as unused
> --------------------------------------------------------------
>
> Key: DRILL-6677
> URL: https://issues.apache.org/jira/browse/DRILL-6677
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.15.0
> Reporter: Paul Rogers
> Priority: Major
>
> Consider the following Java snippet:
> {code}
> import com.foo.Bar;
> /**
> This is a reference to {@link com.foo.Bar}
> {code}
> Eclipse will notice the reference to {{com.foo.Bar}} in the Javadoc comment and its automatic import fixer-upper will include the import.
> But, check style appears to ignore Javadoc imports. So, Check style reports the import as unused.
> The only way, at present, to make Check style happy is to turn off the Eclipse import fixer-upper and do everything manually.
> Request: modify check style to also check for class references in Javadoc comments as such references are required for the Javadoc to build.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)