Use platform independent way to split output to lines.

This commit is contained in:
Ilya Gorbunov
2015-05-22 16:12:07 +03:00
parent 9b28609d57
commit 36fb5b3c49
@@ -53,7 +53,7 @@ public abstract class KotlinAnnotationProvider {
val annotatedKotlinElements: MutableMap<String, MutableSet<AnnotatedElementDescriptor>> = hashMapOf()
for (line in serializedAnnotations.split('\n')) {
for (line in serializedAnnotations.lines()) {
if (line.isEmpty()) continue
val lineParts = line.split(' ')