[ 
https://issues.apache.org/jira/browse/CASSANDRA-18865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766580#comment-17766580
 ] 

Stefan Miklosovic edited comment on CASSANDRA-18865 at 9/18/23 8:47 PM:
------------------------------------------------------------------------

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

So this ticket should just cover the change for idea files so it is marked as 
an error, right? 


was (Author: smiklosovic):
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]

Reply via email to