mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-22 13:09:46 +01:00
Fix new introduced SpotBugs error and warnings
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
000184a338
commit
6f277cbe92
@ -30,7 +30,7 @@ import java.util.Objects;
|
|||||||
|
|
||||||
@Parcel
|
@Parcel
|
||||||
@JsonObject
|
@JsonObject
|
||||||
public class ChatShareOCS extends GenericOCS {
|
public class ChatShareOCS {
|
||||||
@JsonField(name = "data")
|
@JsonField(name = "data")
|
||||||
public HashMap<String, ChatMessage> data;
|
public HashMap<String, ChatMessage> data;
|
||||||
|
|
||||||
@ -67,8 +67,7 @@ public class ChatShareOCS extends GenericOCS {
|
|||||||
final int PRIME = 59;
|
final int PRIME = 59;
|
||||||
int result = 1;
|
int result = 1;
|
||||||
final Object $data = this.getData();
|
final Object $data = this.getData();
|
||||||
result = result * PRIME + ($data == null ? 43 : $data.hashCode());
|
return result * PRIME + ($data == null ? 43 : $data.hashCode());
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -66,8 +66,7 @@ public class ChatShareOverall {
|
|||||||
final int PRIME = 59;
|
final int PRIME = 59;
|
||||||
int result = 1;
|
int result = 1;
|
||||||
final Object $ocs = this.getOcs();
|
final Object $ocs = this.getOcs();
|
||||||
result = result * PRIME + ($ocs == null ? 43 : $ocs.hashCode());
|
return result * PRIME + ($ocs == null ? 43 : $ocs.hashCode());
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
Loading…
Reference in New Issue
Block a user