improve spotbugs

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2021-05-26 22:10:06 +02:00
parent cfe00937c5
commit f4cfc9cef3
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -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() {