Migrate to using join* functions instead of deprecated.

This commit is contained in:
Ilya Ryzhenkov
2014-05-30 16:32:45 +04:00
committed by Andrey Breslav
parent 19858b9f74
commit f471f7901c
9 changed files with 42 additions and 32 deletions
@@ -17,7 +17,7 @@ fun customerTemplate(customer: Customer) = """
<body>
<h1>Hello ${customer.name}</h1>
<ul>
${customer.products.map{ productSnippet(it) }.makeString("\n")}
${customer.products.map{ productSnippet(it) }.join("\n")}
</ul>
<p>lets do some kool stuff</p>
</body>