From c142253fb9813295f3356149b4abc1efb674ee9c Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Wed, 17 Sep 2014 17:13:29 +0400 Subject: [PATCH] JS stdlib: droped unnecessary jutilCode.kt --- js/js.libraries/src/stdlib/jutilCode.kt | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 js/js.libraries/src/stdlib/jutilCode.kt diff --git a/js/js.libraries/src/stdlib/jutilCode.kt b/js/js.libraries/src/stdlib/jutilCode.kt deleted file mode 100644 index f83d8d79d18..00000000000 --- a/js/js.libraries/src/stdlib/jutilCode.kt +++ /dev/null @@ -1,17 +0,0 @@ -package kotlin - -import java.util.* - -public inline fun Iterable.toString(): String { - return makeString(", ", "[", "]") -} - -/** - * Returns a new Map containing the results of applying the given *transform* function to each [[Map.Entry]] in this [[Map]] - * - * @includeFunctionBody ../../test/MapTest.kt mapValues - */ -public inline fun MutableMap.mapValues(transform : (Map.Entry) -> R): Map { - return mapValuesTo(HashMap(), transform) -} -