Remove syncronious lazy as all usages are from one thread
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user