[
https://issues.apache.org/jira/browse/CASSANDRA-18865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766580#comment-17766580
]
Stefan Miklosovic commented on CASSANDRA-18865:
-----------------------------------------------
Well it seems that rule is already enabled ... wow. I do not remeber that.
https://github.com/apache/cassandra/blob/trunk/.build/checkstyle.xml#L172
> 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]