[jira] [Commented] (CASSANDRA-18865) Enable unnecessary import from the same package check in IDEs
[ https://issues.apache.org/jira/browse/CASSANDRA-18865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17768554#comment-17768554 ] Berenguer Blasi commented on CASSANDRA-18865: - +1 > Enable unnecessary import from the same package check in IDEs > - > > Key: CASSANDRA-18865 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18865 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Maxim Muzafarov >Assignee: Maxim Muzafarov >Priority: Normal > Fix For: 5.x > > Attachments: Screenshot 2023-09-22 at 13.13.23.png, Screenshot from > 2023-09-22 14-29-58.png, Screenshot from 2023-09-22 14-31-46.png, > image-2023-09-18-10-19-15-531.png > > Time Spent: 10m > Remaining Estimate: 0h > > Currently, the unnecessary imports are disabled by the code style and are not > displayed by the IDE with the configuration stored in the project root. See > the screenshot below. > It seems the following needs to be done: > - enable this check in the IDE configuration for all supported IDEs; > - update the documentation; -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18865) Enable unnecessary import from the same package check in IDEs
[ https://issues.apache.org/jira/browse/CASSANDRA-18865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767990#comment-17767990 ] Maxim Muzafarov commented on CASSANDRA-18865: - Thank you, Stefan, I would also like to point out that the "Java | Imports | Unnecessary import from the 'java.lang' package" is also included in the RedundantImport checkstyle rule by default, so there should be no problems from that side. > Enable unnecessary import from the same package check in IDEs > - > > Key: CASSANDRA-18865 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18865 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Maxim Muzafarov >Assignee: Maxim Muzafarov >Priority: Normal > Fix For: 5.x > > Attachments: Screenshot 2023-09-22 at 13.13.23.png, Screenshot from > 2023-09-22 14-29-58.png, Screenshot from 2023-09-22 14-31-46.png, > image-2023-09-18-10-19-15-531.png > > Time Spent: 10m > Remaining Estimate: 0h > > Currently, the unnecessary imports are disabled by the code style and are not > displayed by the IDE with the configuration stored in the project root. See > the screenshot below. > It seems the following needs to be done: > - enable this check in the IDE configuration for all supported IDEs; > - update the documentation; -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18865) Enable unnecessary import from the same package check in IDEs
[ https://issues.apache.org/jira/browse/CASSANDRA-18865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767986#comment-17767986 ] Stefan Miklosovic commented on CASSANDRA-18865: --- !Screenshot from 2023-09-22 14-29-58.png! after this patch it will be: !Screenshot from 2023-09-22 14-31-46.png! +1 > Enable unnecessary import from the same package check in IDEs > - > > Key: CASSANDRA-18865 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18865 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Maxim Muzafarov >Assignee: Maxim Muzafarov >Priority: Normal > Fix For: 5.x > > Attachments: Screenshot 2023-09-22 at 13.13.23.png, Screenshot from > 2023-09-22 14-29-58.png, Screenshot from 2023-09-22 14-31-46.png, > image-2023-09-18-10-19-15-531.png > > Time Spent: 10m > Remaining Estimate: 0h > > Currently, the unnecessary imports are disabled by the code style and are not > displayed by the IDE with the configuration stored in the project root. See > the screenshot below. > It seems the following needs to be done: > - enable this check in the IDE configuration for all supported IDEs; > - update the documentation; -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18865) Enable unnecessary import from the same package check in IDEs
[ https://issues.apache.org/jira/browse/CASSANDRA-18865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767967#comment-17767967 ] Maxim Muzafarov commented on CASSANDRA-18865: - [~smiklosovic], [~Bereng] I've updated the configuration for IntelliJ IDEA in order to reflect redundant imports at the "error" level. I have also tried to do the same for NetBeans configuration that stored in the {{ide/nbproject}} directory, but these options are only available at the global level and can't be saved at the per-project level. !Screenshot 2023-09-22 at 13.13.23.png! Can you take a look at these changes? > Enable unnecessary import from the same package check in IDEs > - > > Key: CASSANDRA-18865 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18865 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Maxim Muzafarov >Assignee: Maxim Muzafarov >Priority: Normal > Fix For: 5.x > > Attachments: Screenshot 2023-09-22 at 13.13.23.png, > image-2023-09-18-10-19-15-531.png > > Time Spent: 10m > Remaining Estimate: 0h > > Currently, the unnecessary imports are disabled by the code style and are not > displayed by the IDE with the configuration stored in the project root. See > the screenshot below. > It seems the following needs to be done: > - enable this check in the IDE configuration for all supported IDEs; > - update the documentation; -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org