Corrections on code review
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<body>
|
<body>
|
||||||
This inspection detects an 'assert' calls that check that a variable declared above has non-null value.
|
This inspection detects 'assert' calls checking that a variable declared above has a non-null value.
|
||||||
Such asserts can be replaced with use of '!!' or '?:' operator in the variable initializer.
|
Such asserts can be replaced with use of '!!' or '?:' operator in the variable initializer.
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1169,7 +1169,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.intentions.SimplifyAssertNotNullInspection"
|
<localInspection implementationClass="org.jetbrains.kotlin.idea.intentions.SimplifyAssertNotNullInspection"
|
||||||
displayName="Replace assert with '!!' or '?:'"
|
displayName="‘assert’ calls that can be replaced with ‘!!’ or ‘?:'"
|
||||||
groupName="Kotlin"
|
groupName="Kotlin"
|
||||||
enabledByDefault="true"
|
enabledByDefault="true"
|
||||||
level="INFO"
|
level="INFO"
|
||||||
|
|||||||
Reference in New Issue
Block a user