Updating java to kotlin convert to new language syntax

This commit is contained in:
Valentin Kipyatkov
2015-05-27 13:30:58 +03:00
parent 802ca5476d
commit 87cb36e8e9
24 changed files with 56 additions and 55 deletions
@@ -1,16 +1,16 @@
import javaApi.Anon5
class A
[Anon5(10)]
(private val a: Int, private val b: Int) {
@Anon5(10)
constructor(private val a: Int, private val b: Int) {
deprecated("") // this constructor will not be replaced by default parameter value in primary because of this annotation
public constructor(a: Int) : this(a, 1) {
}
}
class B [Anon5(11)]
()
class B @Anon5(11)
constructor()
class C [Anon5(12)]
private ()
class C @Anon5(12)
private constructor()