Workaround for exception from analyze (KT-8749)

This commit is contained in:
Nikolay Krasko
2015-08-19 13:58:54 +03:00
parent 5b3c05d039
commit e13d1d3e44
@@ -32,7 +32,7 @@ import java.util.Collections
abstract class KotlinFileIndexBase<T>(private val classOfIndex: Class<T>) : ScalarIndexExtension<FqName>() {
public val KEY: ID<FqName, Void> = ID.create(classOfIndex.getCanonicalName())
private val KEY_DESCRIPTOR = object : KeyDescriptor<FqName> {
private val KEY_DESCRIPTOR : KeyDescriptor<FqName> = object : KeyDescriptor<FqName> {
override fun save(output: DataOutput, value: FqName) = output.writeUTF(value.asString())
override fun read(input: DataInput) = FqName(input.readUTF())