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

leventov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git


The following commit(s) were added to refs/heads/master by this push:
     new b9354fb  Make 'field can be final' inspection a warning in IntelliJ 
config (#7301)
b9354fb is described below

commit b9354fbddb7cf0e7d225c78a850e59ee27cccf8c
Author: Roman Leventov <[email protected]>
AuthorDate: Tue Mar 26 20:45:03 2019 -0300

    Make 'field can be final' inspection a warning in IntelliJ config (#7301)
    
    A small step towards #7227.
---
 .idea/inspectionProfiles/Druid.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.idea/inspectionProfiles/Druid.xml 
b/.idea/inspectionProfiles/Druid.xml
index 0b1817e..9bc1a75 100644
--- a/.idea/inspectionProfiles/Druid.xml
+++ b/.idea/inspectionProfiles/Druid.xml
@@ -57,6 +57,7 @@
       </option>
       <option name="IGNORE_FIELDS_USED_IN_MULTIPLE_METHODS" value="true" />
     </inspection_tool>
+    <inspection_tool class="FieldMayBeFinal" enabled="true" level="WARNING" 
enabled_by_default="true" />
     <inspection_tool class="ForCanBeForeach" enabled="true" level="WARNING" 
enabled_by_default="true">
       <scope name="NonGeneratedFiles" level="ERROR" enabled="true">
         <option name="REPORT_INDEXED_LOOP" value="true" />
@@ -305,10 +306,9 @@
     </inspection_tool>
     <inspection_tool class="StaticCallOnSubclass" enabled="true" level="ERROR" 
enabled_by_default="true" />
     <inspection_tool class="StaticFieldReferenceOnSubclass" enabled="true" 
level="ERROR" enabled_by_default="true" />
-    <inspection_tool class="StaticPseudoFunctionalStyleMethod" enabled="true" 
level="INFORMATION" enabled_by_default="true">
-      <!-- The current rate of false-positives produced by this inspection is 
very high,
+    <!-- The current rate of false-positives produced by 
StaticPseudoFunctionalStyleMethod is very high,
            see 
https://youtrack.jetbrains.com/issue/IDEA-153047#focus=streamItem-27-3326648.0-0
 -->
-    </inspection_tool>
+    <inspection_tool class="StaticPseudoFunctionalStyleMethod" enabled="true" 
level="INFORMATION" enabled_by_default="true" />
     <inspection_tool class="StringConcatenationInFormatCall" enabled="true" 
level="ERROR" enabled_by_default="true" />
     <inspection_tool class="StringConcatenationInMessageFormatCall" 
enabled="true" level="ERROR" enabled_by_default="true" />
     <inspection_tool class="StringConcatenationMissingWhitespace" 
enabled="true" level="WARNING" enabled_by_default="true" />


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to