tests: apply official code style
#KT-38632 Fixed
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
import java.util.*
|
||||
|
||||
internal class A<T> {
|
||||
fun foo(nonMutableCollection: Collection<String>,
|
||||
mutableCollection: MutableCollection<String>,
|
||||
mutableSet: MutableSet<T>,
|
||||
mutableMap: MutableMap<String, T>) {
|
||||
fun foo(
|
||||
nonMutableCollection: Collection<String>,
|
||||
mutableCollection: MutableCollection<String>,
|
||||
mutableSet: MutableSet<T>,
|
||||
mutableMap: MutableMap<String, T>
|
||||
) {
|
||||
mutableCollection.addAll(nonMutableCollection)
|
||||
mutableSet.add(mutableMap.remove("a"))
|
||||
}
|
||||
|
||||
@@ -4,7 +4,10 @@ import kotlinApi.KotlinClass
|
||||
|
||||
abstract class C(field: Int) : KotlinClass(field) {
|
||||
|
||||
override fun foo(mutableCollection: MutableCollection<String>, nullableCollection: Collection<Int>?): MutableList<Any> {
|
||||
override fun foo(
|
||||
mutableCollection: MutableCollection<String>,
|
||||
nullableCollection: Collection<Int>?
|
||||
): MutableList<Any> {
|
||||
return super.foo(mutableCollection, nullableCollection)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user