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
+1 -1
View File
@@ -1,4 +1,4 @@
fun foo(i: Int?) {
internal fun foo(i: Int?) {
var i1 = i!!
i1++
}
+1 -1
View File
@@ -1,4 +1,4 @@
fun foo(b: Byte) {
internal fun foo(b: Byte) {
var i: Int? = b.toInt()
if (p) i = 10
}
@@ -1,4 +1,4 @@
fun foo() {
internal fun foo() {
var i: Long = 1
if (p) i = 10
}
+1 -1
View File
@@ -1,4 +1,4 @@
fun foo() {
internal fun foo() {
var i: Int? = 1
if (p) i = null
}
@@ -1,3 +1,3 @@
fun foo() {
internal fun foo() {
val o = ""
}
@@ -1,4 +1,4 @@
fun foo() {
internal fun foo() {
var o: Any? = ""
if (p) o = null
}
@@ -1,5 +1,5 @@
class C {
fun foo(p: Boolean): Int {
internal class C {
internal fun foo(p: Boolean): Int {
var a: Int
var b: Int
a = 10