IDEA: unnecessary 'val's removed from constructors
This commit is contained in:
+2
-2
@@ -58,8 +58,8 @@ private class ClassClsStubBuilder(
|
||||
private val classProto: ProtoBuf.Class,
|
||||
private val nameResolver: NameResolver,
|
||||
private val classId: ClassId,
|
||||
private val source: SourceElement?,
|
||||
private val outerContext: ClsStubBuilderContext
|
||||
source: SourceElement?,
|
||||
outerContext: ClsStubBuilderContext
|
||||
) {
|
||||
private val thisAsProtoContainer = ProtoContainer.Class(
|
||||
classProto, nameResolver, TypeTable(classProto.typeTable), source, outerContext.protoContainer
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.DataInput
|
||||
import java.io.DataOutput
|
||||
import java.util.*
|
||||
|
||||
abstract class KotlinFileIndexBase<T>(private val classOfIndex: Class<T>) : ScalarIndexExtension<FqName>() {
|
||||
abstract class KotlinFileIndexBase<T>(classOfIndex: Class<T>) : ScalarIndexExtension<FqName>() {
|
||||
val KEY: ID<FqName, Void> = ID.create(classOfIndex.canonicalName)
|
||||
|
||||
private val KEY_DESCRIPTOR : KeyDescriptor<FqName> = object : KeyDescriptor<FqName> {
|
||||
|
||||
Reference in New Issue
Block a user