Remove syncronious lazy as all usages are from one thread

This commit is contained in:
Nikolay Krasko
2015-09-11 15:18:24 +03:00
parent 3ad6631df3
commit eea8fcdae6
@@ -142,7 +142,7 @@ public class JavaToKotlinConverter(
val file: PsiFile,
val processings: Collection<UsageProcessing>
) {
val depth: Int by lazy { target.parentsWithSelf.takeWhile { it !is PsiFile }.count() }
val depth: Int by lazy(LazyThreadSafetyMode.NONE) { target.parentsWithSelf.takeWhile { it !is PsiFile }.count() }
}
private fun buildExternalCodeProcessing(