This is an automated email from the ASF dual-hosted git repository.

bereng pushed a commit to branch cassandra-5.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/cassandra-5.0 by this push:
     new 4bfca2badb IDEA to mark unused imports as error
4bfca2badb is described below

commit 4bfca2badb3284657a65d8910a4f77eaf7689b31
Author: Bereng <berenguerbl...@gmail.com>
AuthorDate: Fri Sep 15 09:24:07 2023 +0200

    IDEA to mark unused imports as error
    
    patch by Berenguer Blasi; reviewed by Caleb Rackliffe, Francisco Guerrero, 
Jacek Lewandowski, Maxim Muzafarov, Stefan Miklosovic for CASSANDRA-18853
---
 ide/idea/inspectionProfiles/Project_Default.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ide/idea/inspectionProfiles/Project_Default.xml 
b/ide/idea/inspectionProfiles/Project_Default.xml
index 2edbb703c9..d9c8f1c09c 100644
--- a/ide/idea/inspectionProfiles/Project_Default.xml
+++ b/ide/idea/inspectionProfiles/Project_Default.xml
@@ -129,5 +129,6 @@
     <inspection_tool class="UnnecessaryInterfaceModifier" enabled="false" 
level="WARNING" enabled_by_default="false" />
     <inspection_tool class="WhileCanBeForeach" enabled="false" level="WARNING" 
enabled_by_default="false" />
     <inspection_tool class="ZeroLengthArrayInitialization" enabled="true" 
level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="UNUSED_IMPORT" enabled="true" level="ERROR" 
enabled_by_default="true" editorAttributes="ERRORS_ATTRIBUTES" />
   </profile>
-</component>
\ No newline at end of file
+</component>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to