Deprecate join (use joinToString instead)
#KT-6909
This commit is contained in:
@@ -15,7 +15,7 @@ fun customerTemplate(customer: Customer) = """
|
||||
<body>
|
||||
<h1>Hello ${customer.name}</h1>
|
||||
<ul>
|
||||
${customer.products.map{ productSnippet(it) }.join("\n")}
|
||||
${customer.products.map{ productSnippet(it) }.joinToString("\n")}
|
||||
</ul>
|
||||
<p>lets do some kool stuff</p>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user