Minor. Utility moved to a common place
This commit is contained in:
@@ -370,6 +370,4 @@ private fun PsiElement.isInCopiedArea(fileCopiedFrom: JetFile, startOffsets: Int
|
||||
val (start, end) = it
|
||||
range in TextRange(start, end)
|
||||
}
|
||||
}
|
||||
|
||||
private fun <T : Any> MutableCollection<T>.addIfNotNull(el: T?) = ContainerUtil.addIfNotNull(this, el)
|
||||
}
|
||||
Reference in New Issue
Block a user