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,5 +1,5 @@
class A// this is a primary constructor
JvmOverloads constructor(p: Int = 1) {
internal class A// this is a primary constructor
JvmOverloads internal constructor(p: Int = 1) {
private val v: Int
init {
@@ -7,15 +7,15 @@ JvmOverloads constructor(p: Int = 1) {
} // end of primary constructor body
// this is a secondary constructor 2
constructor(s: String) : this(s.length()) {
internal constructor(s: String) : this(s.length()) {
} // end of secondary constructor 2 body
}// this is a secondary constructor 1
// end of secondary constructor 1 body
class B// this constructor will disappear
internal class B// this constructor will disappear
(private val x: Int) // end of constructor body
{
fun foo() {
internal fun foo() {
}
}