Removed unused parameter

This commit is contained in:
Valentin Kipyatkov
2015-11-05 13:36:17 +03:00
parent 4a182ac6e2
commit 576b79de0a
2 changed files with 1 additions and 3 deletions
@@ -430,7 +430,7 @@ abstract class CompletionSession(
} }
protected fun createLookupElementFactory(contextVariablesProvider: ContextVariablesProvider): LookupElementFactory { protected fun createLookupElementFactory(contextVariablesProvider: ContextVariablesProvider): LookupElementFactory {
return LookupElementFactory(basicLookupElementFactory, resolutionFacade, receiverTypes, return LookupElementFactory(basicLookupElementFactory, receiverTypes,
callTypeAndReceiver.callType, inDescriptor, contextVariablesProvider) callTypeAndReceiver.callType, inDescriptor, contextVariablesProvider)
} }
@@ -27,7 +27,6 @@ import org.jetbrains.kotlin.descriptors.*
import org.jetbrains.kotlin.idea.completion.handlers.GenerateLambdaInfo import org.jetbrains.kotlin.idea.completion.handlers.GenerateLambdaInfo
import org.jetbrains.kotlin.idea.completion.handlers.KotlinFunctionInsertHandler import org.jetbrains.kotlin.idea.completion.handlers.KotlinFunctionInsertHandler
import org.jetbrains.kotlin.idea.completion.handlers.lambdaPresentation import org.jetbrains.kotlin.idea.completion.handlers.lambdaPresentation
import org.jetbrains.kotlin.idea.resolve.ResolutionFacade
import org.jetbrains.kotlin.idea.util.CallType import org.jetbrains.kotlin.idea.util.CallType
import org.jetbrains.kotlin.idea.util.FuzzyType import org.jetbrains.kotlin.idea.util.FuzzyType
import org.jetbrains.kotlin.renderer.DescriptorRenderer import org.jetbrains.kotlin.renderer.DescriptorRenderer
@@ -46,7 +45,6 @@ import org.jetbrains.kotlin.utils.addIfNotNull
data /* we need copy() */ data /* we need copy() */
class LookupElementFactory( class LookupElementFactory(
val basicFactory: BasicLookupElementFactory, val basicFactory: BasicLookupElementFactory,
private val resolutionFacade: ResolutionFacade,
private val receiverTypes: Collection<KotlinType>?, private val receiverTypes: Collection<KotlinType>?,
private val callType: CallType<*>?, private val callType: CallType<*>?,
private val inDescriptor: DeclarationDescriptor, private val inDescriptor: DeclarationDescriptor,