diff --git a/compiler/frontend/src/org/jetbrains/kotlin/cfg/ControlFlowInformationProvider.kt b/compiler/frontend/src/org/jetbrains/kotlin/cfg/ControlFlowInformationProvider.kt index e16d9980672..3875dea7987 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/cfg/ControlFlowInformationProvider.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/cfg/ControlFlowInformationProvider.kt @@ -71,7 +71,7 @@ class ControlFlowInformationProvider private constructor( } constructor(declaration: KtElement, trace: BindingTrace) - : this(declaration, trace, ControlFlowProcessor(trace).generatePseudocode(declaration)) {} + : this(declaration, trace, ControlFlowProcessor(trace).generatePseudocode(declaration)) fun checkForLocalClassOrObjectMode() { // Local classes and objects are analyzed twice: when TopDownAnalyzer processes it and as a part of its container. diff --git a/compiler/frontend/src/org/jetbrains/kotlin/psi/KtNameReferenceExpression.kt b/compiler/frontend/src/org/jetbrains/kotlin/psi/KtNameReferenceExpression.kt index e9bdd1a37e3..6e03bcbd700 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/psi/KtNameReferenceExpression.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/psi/KtNameReferenceExpression.kt @@ -27,11 +27,9 @@ import org.jetbrains.kotlin.psi.stubs.KotlinNameReferenceExpressionStub import org.jetbrains.kotlin.psi.stubs.elements.KtStubElementTypes class KtNameReferenceExpression : KtExpressionImplStub, KtSimpleNameExpression { - constructor(node: ASTNode) : super(node) { - } + constructor(node: ASTNode) : super(node) - constructor(stub: KotlinNameReferenceExpressionStub) : super(stub, KtStubElementTypes.REFERENCE_EXPRESSION) { - } + constructor(stub: KotlinNameReferenceExpressionStub) : super(stub, KtStubElementTypes.REFERENCE_EXPRESSION) override fun getReferencedName(): String { val stub = stub diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/DelegatingBindingTrace.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/DelegatingBindingTrace.kt index e36444fcea2..85e0bd042ba 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/DelegatingBindingTrace.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/DelegatingBindingTrace.kt @@ -75,8 +75,7 @@ open class DelegatingBindingTrace(private val parentContext: BindingContext, filter: BindingTraceFilter = BindingTraceFilter.ACCEPT_ALL) : this(parentContext, AnalyzingUtils.formDebugNameForBindingTrace(debugName, resolutionSubjectForMessage), - filter = filter) { - } + filter = filter) override fun getBindingContext(): BindingContext = bindingContext diff --git a/idea/src/org/jetbrains/kotlin/idea/findUsages/handlers/KotlinFindUsagesHandler.kt b/idea/src/org/jetbrains/kotlin/idea/findUsages/handlers/KotlinFindUsagesHandler.kt index cc11ae5f5b5..8f9f9be4695 100644 --- a/idea/src/org/jetbrains/kotlin/idea/findUsages/handlers/KotlinFindUsagesHandler.kt +++ b/idea/src/org/jetbrains/kotlin/idea/findUsages/handlers/KotlinFindUsagesHandler.kt @@ -40,8 +40,7 @@ abstract class KotlinFindUsagesHandler(psiElement: T, return psiElement as T } - constructor(psiElement: T, factory: KotlinFindUsagesHandlerFactory) : this(psiElement, emptyList(), factory) { - } + constructor(psiElement: T, factory: KotlinFindUsagesHandlerFactory) : this(psiElement, emptyList(), factory) override fun getPrimaryElements(): Array { return if (elementsToSearch.isEmpty())