From 1b7ebca3a8127e32b65c2bdb27cd2d482b22e884 Mon Sep 17 00:00:00 2001 From: Daniil Ovchinnikov Date: Thu, 18 Jan 2018 18:39:18 +0300 Subject: [PATCH] [groovy] minor code style fix --- .../plugins/groovy/lang/resolve/DependentResolver.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/DependentResolver.kt b/plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/DependentResolver.kt index b45c4d11bf6a..7fb7bf963671 100644 --- a/plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/DependentResolver.kt +++ b/plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/DependentResolver.kt @@ -1,6 +1,4 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. - */ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.groovy.lang.resolve import com.intellij.psi.PsiPolyVariantReference @@ -24,7 +22,7 @@ abstract class DependentResolver : ResolveCache.Pol private val resolvingDependencies = ThreadLocal.withInitial { mutableSetOf() } } - override final fun resolve(ref: T, incomplete: Boolean): Array { + final override fun resolve(ref: T, incomplete: Boolean): Array { val dependencies = resolveDependencies(ref, incomplete) val result = doResolve(ref, incomplete) dependencies?.clear()