From 7554724911bc4a80ec01136e6e20c5e1d21926c4 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Mon, 2 Apr 2012 20:03:56 +0100 Subject: [PATCH] #KT-1675 Fixed, renaming join() -> makeString() and adding an appendString() which reduces the possible number of appendables being created --- libraries/stdlib/src/kotlin/JLangIterables.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/src/kotlin/JLangIterables.kt b/libraries/stdlib/src/kotlin/JLangIterables.kt index f0a3160c7e3..a8c741f3fd9 100644 --- a/libraries/stdlib/src/kotlin/JLangIterables.kt +++ b/libraries/stdlib/src/kotlin/JLangIterables.kt @@ -25,7 +25,7 @@ public inline fun java.lang.Iterable.any(predicate: (T) -> Boolean) : Boo /** * Appends the string from all the elements separated using the *separator* and using the given *prefix* and *postfix* if supplied * - * @includeFunctionBody ../../test/CollectionTest.kt makeString + * @includeFunctionBody ../../test/CollectionTest.kt appendString */ public inline fun java.lang.Iterable.appendString(buffer: Appendable, separator: String = ", ", prefix: String = "", postfix: String = "", limit: Int = -1): Unit { buffer.append(prefix)