From 11f4df81738438c474508db9ea2ae5724985be4a Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Fri, 18 Jan 2019 14:01:19 +0300 Subject: [PATCH] New J2K: Add RemoveRedundantCallsOfConversionMethodsIntention post processing --- idea/src/org/jetbrains/kotlin/idea/j2k/NewJ2kPostProcessings.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/idea/src/org/jetbrains/kotlin/idea/j2k/NewJ2kPostProcessings.kt b/idea/src/org/jetbrains/kotlin/idea/j2k/NewJ2kPostProcessings.kt index 1c592a8720c..a4a0f0229a4 100644 --- a/idea/src/org/jetbrains/kotlin/idea/j2k/NewJ2kPostProcessings.kt +++ b/idea/src/org/jetbrains/kotlin/idea/j2k/NewJ2kPostProcessings.kt @@ -115,6 +115,7 @@ object NewJ2KPostProcessingRegistrarImpl : J2KPostProcessingRegistrar { registerIntentionBasedProcessing(FoldInitializerAndIfToElvisIntention()), registerGeneralInspectionBasedProcessing(RedundantSemicolonInspection()), registerIntentionBasedProcessing(RemoveEmptyClassBodyIntention()), + registerIntentionBasedProcessing(RemoveRedundantCallsOfConversionMethodsIntention()), registerIntentionBasedProcessing(FoldIfToReturnIntention()) { it.then.isTrivialStatementBody() && it.`else`.isTrivialStatementBody() }, registerIntentionBasedProcessing(FoldIfToReturnAsymmetricallyIntention()) {