mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03: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
2 changed files with 3 additions and 5 deletions
|
@ -30,7 +30,7 @@ import java.util.Objects;
|
|||
|
||||
@Parcel
|
||||
@JsonObject
|
||||
public class ChatShareOCS extends GenericOCS {
|
||||
public class ChatShareOCS {
|
||||
@JsonField(name = "data")
|
||||
public HashMap<String, ChatMessage> data;
|
||||
|
||||
|
@ -67,8 +67,7 @@ public class ChatShareOCS extends GenericOCS {
|
|||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
final Object $data = this.getData();
|
||||
result = result * PRIME + ($data == null ? 43 : $data.hashCode());
|
||||
return result;
|
||||
return result * PRIME + ($data == null ? 43 : $data.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
|
|
@ -66,8 +66,7 @@ public class ChatShareOverall {
|
|||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
final Object $ocs = this.getOcs();
|
||||
result = result * PRIME + ($ocs == null ? 43 : $ocs.hashCode());
|
||||
return result;
|
||||
return result * PRIME + ($ocs == null ? 43 : $ocs.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
|
Loading…
Reference in a new issue