J2K: adapted for default visibility modifier 'public'
This commit is contained in:
+2
-2
@@ -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
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user