Formatter: left brace formatting for "for in ..."
This commit is contained in:
@@ -4,12 +4,10 @@ public class ForEach() {
|
||||
public fun test() {
|
||||
val xs = ArrayList<Any>()
|
||||
val ys = LinkedList<Any>()
|
||||
for (x in xs)
|
||||
{
|
||||
for (x in xs) {
|
||||
ys.add(x)
|
||||
}
|
||||
for (y in ys)
|
||||
{
|
||||
for (y in ys) {
|
||||
xs.add(y)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,12 +4,10 @@ public open class ForEach() {
|
||||
public open fun test() {
|
||||
var xs: ArrayList<Any?>? = ArrayList<Any?>()
|
||||
var ys: MutableList<Any?>? = LinkedList<Any?>()
|
||||
for (x in xs!!)
|
||||
{
|
||||
for (x in xs!!) {
|
||||
ys?.add(x)
|
||||
}
|
||||
for (y in ys!!)
|
||||
{
|
||||
for (y in ys!!) {
|
||||
xs?.add(y)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user