21bc2887d2
Omit Unit return type Refactor handling of Unit type: extract separate object UnitType
25 lines
444 B
Kotlin
25 lines
444 B
Kotlin
package com.voltvoodoo.saplo4j.model
|
|
import java.io.Serializable
|
|
public open class Language(code : String?) : Serializable {
|
|
protected var code : String? = null
|
|
public override fun toString() : String? {
|
|
return this.code
|
|
}
|
|
{
|
|
this.code = code
|
|
}
|
|
}
|
|
open class Base() {
|
|
open fun test() {
|
|
}
|
|
open fun toString() : String? {
|
|
return "BASE"
|
|
}
|
|
}
|
|
open class Child() : Base() {
|
|
override fun test() {
|
|
}
|
|
override fun toString() : String? {
|
|
return "Child"
|
|
}
|
|
} |