KT-13521 Warning right part of "expression ?: null" is useless

#KT-13521 Fixed
This commit is contained in:
shiraji
2016-08-22 03:15:12 +09:00
parent a683c2b68d
commit a3f131d6c6
7 changed files with 47 additions and 0 deletions
@@ -98,6 +98,7 @@ class QuickFixRegistrar : QuickFixContributor {
WRONG_GETTER_RETURN_TYPE.registerFactory(ChangeAccessorTypeFix)
USELESS_ELVIS.registerFactory(RemoveUselessElvisFix)
USELESS_ELVIS_RIGHT_IS_NULL.registerFactory(RemoveUselessElvisFix)
val removeRedundantModifierFactory = RemoveModifierFix.createRemoveModifierFactory(true)
REDUNDANT_MODIFIER.registerFactory(removeRedundantModifierFactory)