Refactoring: change "// BUNCH: xxx" format
It wasn't obvious how to use this comment properly. Now it should be clear
This commit is contained in:
committed by
Nikita Bobko
parent
b34fe77760
commit
aa5a5c954f
+1
-1
@@ -8,6 +8,6 @@ package org.jetbrains.kotlin.idea.maven
|
||||
import com.intellij.openapi.module.Module
|
||||
import org.jetbrains.kotlin.idea.util.application.getServiceSafe
|
||||
|
||||
// BUNCH: 192
|
||||
// FIX ME WHEN BUNCH 192 REMOVED
|
||||
internal val Module.kotlinImporterComponent: KotlinImporterComponent
|
||||
get() = this.getServiceSafe()
|
||||
|
||||
+1
-1
@@ -7,6 +7,6 @@ package org.jetbrains.kotlin.idea.maven
|
||||
|
||||
import com.intellij.openapi.module.Module
|
||||
|
||||
// BUNCH: 192
|
||||
// FIX ME WHEN BUNCH 192 REMOVED
|
||||
internal val Module.kotlinImporterComponent: KotlinImporterComponent
|
||||
get() = getComponent(KotlinImporterComponent::class.java) ?: throw IllegalStateException("No maven importer state configured")
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.jetbrains.kotlin.idea.configuration.KotlinMigrationProjectService
|
||||
import org.jetbrains.kotlin.idea.configuration.notifyOutdatedBundledCompilerIfNecessary
|
||||
import org.jetbrains.kotlin.idea.util.ProgressIndicatorUtils.runUnderDisposeAwareIndicator
|
||||
|
||||
// BUNCH: 192
|
||||
// FIX ME WHEN BUNCH 192 REMOVED
|
||||
class MavenImportListener : StartupActivity {
|
||||
|
||||
override fun runActivity(project: Project) {
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.jetbrains.kotlin.idea.configuration.KotlinMigrationProjectService
|
||||
import org.jetbrains.kotlin.idea.configuration.notifyOutdatedBundledCompilerIfNecessary
|
||||
import org.jetbrains.kotlin.idea.util.ProgressIndicatorUtils.runUnderDisposeAwareIndicator
|
||||
|
||||
// BUNCH: 192
|
||||
// FIX ME WHEN BUNCH 192 REMOVED
|
||||
class MavenImportListener(val project: Project) : MavenProjectsManager.Listener {
|
||||
init {
|
||||
project.messageBus.connect(project).subscribe(
|
||||
|
||||
Reference in New Issue
Block a user