[
https://issues.apache.org/jira/browse/CASSANDRA-18853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766378#comment-17766378
]
Stefan Miklosovic commented on CASSANDRA-18853:
-----------------------------------------------
Yes. The case I want to explore is imports which are not necessary to import
because they are in same package. E.g. I have a package a.b.c and there is a
class D and E. If we use D in E, since it is in same package, we do not need to
import D. The question is if we want to mark such import as unnecessary hence
erroneous. Why do we need to import it when it is already available without
doing so?
> IDEA to mark unused imports as error
> ------------------------------------
>
> Key: CASSANDRA-18853
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18853
> Project: Cassandra
> Issue Type: Bug
> Components: Build
> Reporter: Berenguer Blasi
> Assignee: Berenguer Blasi
> Priority: Normal
> Fix For: 5.0.x, 5.x
>
> Attachments: image-2023-09-18-10-19-15-531.png
>
>
> During dev it's quite easy to miss unused imports which will fail CI. That is
> very annoying, slows dev down and CI expensive. It's easy to avoid by making
> Idea mark them as errors
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]