Permalink
Browse files

Make nullable and nonnull annotations emit error when not followed

  • Loading branch information...
1 parent 637e12f commit bd44965de491eba0076e067c975201a5572a9415 @yukuku committed Jan 27, 2016
Showing with 4 additions and 0 deletions.
  1. +4 −0 .idea/inspectionProfiles/Project_Default.xml
@@ -2,6 +2,10 @@
<profile version="1.0" is_locked="false">
<option name="myName" value="Project Default" />
<option name="myLocal" value="false" />
+ <inspection_tool class="ConstantConditions" enabled="true" level="ERROR" enabled_by_default="true">
+ <option name="SUGGEST_NULLABLE_ANNOTATIONS" value="false" />
+ <option name="DONT_REPORT_TRUE_ASSERT_STATEMENTS" value="false" />
+ </inspection_tool>
<inspection_tool class="Convert2MethodRef" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="Convert2streamapi" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="EmptyStatementBody" enabled="true" level="WARNING" enabled_by_default="true">

0 comments on commit bd44965

Please sign in to comment.