Corrections on code review
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<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.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1169,7 +1169,7 @@
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.intentions.SimplifyAssertNotNullInspection"
|
||||
displayName="Replace assert with '!!' or '?:'"
|
||||
displayName="‘assert’ calls that can be replaced with ‘!!’ or ‘?:'"
|
||||
groupName="Kotlin"
|
||||
enabledByDefault="true"
|
||||
level="INFO"
|
||||
|
||||
Reference in New Issue
Block a user