Converter:

Use formatter in converter tests
Reformat test data
This commit is contained in:
Pavel V. Talanov
2013-11-26 18:28:04 +04:00
parent ea6b751645
commit 741e031ff1
377 changed files with 2742 additions and 2574 deletions
+13 -12
View File
@@ -1,15 +1,16 @@
import java.util.*
public class ForEach() {
public fun test() {
val xs = ArrayList<Any>()
val ys = LinkedList<Any>()
for (x in xs)
{
ys.add(x)
}
for (y in ys)
{
xs.add(y)
}
}
public fun test() {
val xs = ArrayList<Any>()
val ys = LinkedList<Any>()
for (x in xs)
{
ys.add(x)
}
for (y in ys)
{
xs.add(y)
}
}
}
+13 -12
View File
@@ -1,15 +1,16 @@
import java.util.*
public open class ForEach() {
public open fun test() {
var xs : ArrayList<Any?>? = ArrayList<Any?>()
var ys : MutableList<Any?>? = LinkedList<Any?>()
for (x in xs!!)
{
ys?.add(x)
}
for (y in ys!!)
{
xs?.add(y)
}
}
public open fun test() {
var xs: ArrayList<Any?>? = ArrayList<Any?>()
var ys: MutableList<Any?>? = LinkedList<Any?>()
for (x in xs!!)
{
ys?.add(x)
}
for (y in ys!!)
{
xs?.add(y)
}
}
}
+11 -10
View File
@@ -1,13 +1,14 @@
import java.util.*
public class Lists() {
public fun test() {
val xs = ArrayList<Any>()
val ys = LinkedList<Any>()
val zs = ArrayList<Any>()
xs.add(null)
ys.add(null)
xs.clear()
ys.clear()
zs.add(null)
}
public fun test() {
val xs = ArrayList<Any>()
val ys = LinkedList<Any>()
val zs = ArrayList<Any>()
xs.add(null)
ys.add(null)
xs.clear()
ys.clear()
zs.add(null)
}
}
+11 -10
View File
@@ -1,13 +1,14 @@
import java.util.*
public open class Lists() {
public open fun test() {
var xs : MutableList<Any?>? = ArrayList<Any?>()
var ys : MutableList<Any?>? = LinkedList<Any?>()
var zs : ArrayList<Any?>? = ArrayList<Any?>()
xs?.add(null)
ys?.add(null)
xs?.clear()
ys?.clear()
zs?.add(null)
}
public open fun test() {
var xs: MutableList<Any?>? = ArrayList<Any?>()
var ys: MutableList<Any?>? = LinkedList<Any?>()
var zs: ArrayList<Any?>? = ArrayList<Any?>()
xs?.add(null)
ys?.add(null)
xs?.clear()
ys?.clear()
zs?.add(null)
}
}