J2K: adapted for default visibility modifier 'public'

This commit is contained in:
Valentin Kipyatkov
2015-09-15 11:29:27 +03:00
parent 1ccbda6af4
commit c3ddd5d32b
477 changed files with 1359 additions and 1350 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
// ERROR: Unresolved reference: LinkedList
import java.util.*
public class ForEach {
public fun test() {
class ForEach {
fun test() {
val xs = ArrayList<Any>()
val ys = LinkedList<Any>()
for (x in xs) {
+2 -2
View File
@@ -3,8 +3,8 @@
// ERROR: Null can not be a value of a non-null type kotlin.Any
import java.util.*
public class Lists {
public fun test() {
class Lists {
fun test() {
val xs = ArrayList<Any>()
val ys = LinkedList<Any>()
val zs = ArrayList<Any>()