[
https://issues.apache.org/jira/browse/CASSANDRA-18865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766574#comment-17766574
]
Maxim Muzafarov commented on CASSANDRA-18865:
---------------------------------------------
[~smiklosovic] I have loaclly checked the checkstyle by adding <module
name="RedundantImport"/> to the rule set, and I have also run the inspection
rule over all the sources and it seems to me that we have no violations of
these rules neither checkstyle nor inspection rule failed. It looks like it can
be easily enabled without affecting ongoing work on CEPs.
Do you have any comments on this? I haven't checked the NetBeans and Eclipse
IDE configurations for this.
> Enable unnecessary import from the same package check (RedundantImportCheck)
> ----------------------------------------------------------------------------
>
> Key: CASSANDRA-18865
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18865
> Project: Cassandra
> Issue Type: Task
> Reporter: Maxim Muzafarov
> Assignee: Maxim Muzafarov
> Priority: Normal
> Attachments: image-2023-09-18-10-19-15-531.png
>
>
> Currently, the unnecessary imports are enabled by the code style and are not
> displayed by the IDE with the configuration stored in the project root. See
> the screenshot below. The RedundantImportCheck is not enabled by the
> checkstyle.
> It seems the following needs to be done:
> - enable this check in the IDE configuration for all supported IDEs;
> - enable check in the checkstyle plugin;
> - update the documentation;
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]