Add "Control flow with empty body" inspection

#KT-30970 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-04-16 15:03:35 +09:00
committed by Dmitry Gridin
parent d2fcb8cc6a
commit 65f06454be
45 changed files with 710 additions and 1 deletions
+10 -1
View File
@@ -3374,7 +3374,16 @@
level="WEAK WARNING"
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.ControlFlowWithEmptyBodyInspection"
displayName="Control flow with empty body"
groupPath="Kotlin"
groupName="Probable bugs"
enabledByDefault="true"
level="WARNING"
language="kotlin"
/>
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
<fileType.fileViewProviderFactory filetype="KJSM" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>