solve detekt warnings 2

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-07-01 12:41:43 +02:00 committed by Andy Scherzinger (Rebase PR Action)
parent 2b8ee4953b
commit 2988b667fe
2 changed files with 2 additions and 4 deletions

View File

@ -38,8 +38,7 @@ data class PollDetailsResponse(
@JsonField(name = ["optionId"])
var optionId: Int,
) : Parcelable {
) : Parcelable {
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
constructor() : this(null, "", "", 0)
}

View File

@ -65,8 +65,7 @@ data class PollResponse(
@JsonField(name = ["details"])
var details: ArrayList<PollDetailsResponse>? = null,
) : Parcelable {
) : Parcelable {
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
constructor() : this("id", null, null, null, null, null, null, 0, 0, 0, null, 0, null)
}