don't try to parse empty text as XML

This commit is contained in:
Dmitry Jemerov
2016-02-02 13:38:30 +01:00
parent 8df05c6c4c
commit 4a1d282de6
@@ -65,6 +65,7 @@ class ReplOutputHandler(
}
private fun handleReplMessage(text: String) {
if (text.isBlank()) return
val output = try {
factory.newDocumentBuilder().parse(strToSource(text))
}