From f75a7cbfc91fcd5ca5d982af0c799306daed1546 Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Wed, 5 Jun 2019 18:50:29 +0300 Subject: [PATCH] New J2K: fix test data for java8MapForEachWithFullJdk test --- .../newJ2k/postProcessing/java8MapForEachWithFullJdk.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nj2k/testData/newJ2k/postProcessing/java8MapForEachWithFullJdk.kt b/nj2k/testData/newJ2k/postProcessing/java8MapForEachWithFullJdk.kt index bcc85a05e83..f5aec5bc428 100644 --- a/nj2k/testData/newJ2k/postProcessing/java8MapForEachWithFullJdk.kt +++ b/nj2k/testData/newJ2k/postProcessing/java8MapForEachWithFullJdk.kt @@ -1,8 +1,6 @@ -import java.util.HashMap - internal class Test { fun test(map: HashMap) { - map.forEach { (key, value) -> foo(key, value) } + map.forEach { (key: String, value: String) -> foo(key, value) } } fun foo(key: String, value: String) {}