From e154e4cf75d23cedf8c598835d2eeb8049e0299e Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Wed, 19 Jul 2017 20:20:14 +0300 Subject: [PATCH] Move: RedundantUnitReturnTypeInspection to inspections package --- idea/src/META-INF/plugin.xml | 2 +- .../RedundantUnitReturnTypeInspection.kt | 48 +++++++++++++++++++ .../intentions/RemoveExplicitTypeIntention.kt | 19 -------- .../inspectionData/inspections.test | 2 +- 4 files changed, 50 insertions(+), 21 deletions(-) create mode 100644 idea/src/org/jetbrains/kotlin/idea/inspections/RedundantUnitReturnTypeInspection.kt diff --git a/idea/src/META-INF/plugin.xml b/idea/src/META-INF/plugin.xml index dea2ec615ea..3b219163759 100644 --- a/idea/src/META-INF/plugin.xml +++ b/idea/src/META-INF/plugin.xml @@ -1981,7 +1981,7 @@ language="kotlin" /> - ( KtCallableDeclaration::class.java, "Remove explicit type specification" diff --git a/idea/testData/inspections/redundantUnitReturnType/inspectionData/inspections.test b/idea/testData/inspections/redundantUnitReturnType/inspectionData/inspections.test index ad41598dff6..770eda29a61 100644 --- a/idea/testData/inspections/redundantUnitReturnType/inspectionData/inspections.test +++ b/idea/testData/inspections/redundantUnitReturnType/inspectionData/inspections.test @@ -1 +1 @@ -// INSPECTION_CLASS: org.jetbrains.kotlin.idea.intentions.RedundantUnitReturnTypeInspection \ No newline at end of file +// INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.RedundantUnitReturnTypeInspection \ No newline at end of file