Bladeren bron

improve spotbugs

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 jaren geleden
bovenliggende
commit
f4cfc9cef3

+ 1 - 2
app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationRichObject.java

@@ -100,8 +100,7 @@ public class NotificationRichObject {
         final Object $type = this.getType();
         result = result * PRIME + ($type == null ? 43 : $type.hashCode());
         final Object $name = this.getName();
-        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
-        return result;
+        return result * PRIME + ($name == null ? 43 : $name.hashCode());
     }
 
     public String toString() {