Extracted ZeroString
This commit is contained in:
parent
2788c0e686
commit
51c09dab7b
|
@ -6,11 +6,13 @@ open class Amount(
|
|||
) {
|
||||
|
||||
companion object {
|
||||
val Zero = Amount("0,")
|
||||
val ZeroString = "0,"
|
||||
|
||||
val Zero = Amount(ZeroString)
|
||||
}
|
||||
|
||||
|
||||
internal constructor() : this("") // for object deserializers
|
||||
internal constructor() : this(ZeroString) // for object deserializers
|
||||
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
|
|
Loading…
Reference in New Issue