Minor. Drop unused property

This commit is contained in:
Denis Zharkov
2016-01-25 13:56:35 +03:00
parent 8e3bdd6a0f
commit 08dd675fcd
2 changed files with 0 additions and 6 deletions
@@ -275,9 +275,6 @@ class LazyJavaTypeResolver(
override val isTypeVariable: Boolean = lowerBound.getConstructor() == upperBound.getConstructor()
&& lowerBound.getConstructor().getDeclarationDescriptor() is TypeParameterDescriptor
override val typeParameterDescriptor: TypeParameterDescriptor? =
if (isTypeVariable) lowerBound.getConstructor().getDeclarationDescriptor() as TypeParameterDescriptor else null
override fun substitutionResult(replacement: KotlinType): KotlinType {
return if (replacement.isFlexible()) replacement
else create(replacement, TypeUtils.makeNullable(replacement))