From b8f2435e2db50c2053a9d880ab9573cb0bc2630e Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 21 Oct 2015 18:26:10 +0200 Subject: M15 code cleanup --- src/Formats/FormatService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Formats/FormatService.kt') diff --git a/src/Formats/FormatService.kt b/src/Formats/FormatService.kt index 642fad04..7e66a6b7 100644 --- a/src/Formats/FormatService.kt +++ b/src/Formats/FormatService.kt @@ -17,4 +17,4 @@ public interface FormatService { } /** Format content to [String] using specified [location] */ -fun FormatService.format(location: Location, nodes: Iterable): String = kotlin.StringBuilder { appendNodes(location, this, nodes) }.toString() +fun FormatService.format(location: Location, nodes: Iterable): String = StringBuilder().apply { appendNodes(location, this, nodes) }.toString() -- cgit