mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 14:24:05 +01:00
solve detekt warnings 2
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
2b8ee4953b
commit
2988b667fe
@ -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)
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user