Ver Fonte

solve detekt warnings 2

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe há 3 anos atrás
pai
commit
2988b667fe

+ 1 - 2
app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollDetailsResponse.kt

@@ -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)
 }

+ 1 - 2
app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollResponse.kt

@@ -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)
 }