mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 00:19:21 +08:00
Code cleanups
This commit is contained in:
@@ -47,7 +47,7 @@ class JsonClassCodegenProcessorTest {
|
||||
import com.squareup.moshi.JsonClass
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
class PrivateConstructor private constructor(var a: Int, var b: Int) {
|
||||
class PrivateConstructor private constructor(val a: Int, val b: Int) {
|
||||
fun a() = a
|
||||
fun b() = b
|
||||
companion object {
|
||||
|
Reference in New Issue
Block a user