From b60b20e3124759be5bdfbeca01619fb46f569225 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 31 Oct 2014 18:02:45 +0100 Subject: [PATCH] Remove unnecessary multiplication in DiscoverInfo.hashCode() --- .../java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java index 479f7945b..70afbc26a 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java @@ -510,7 +510,7 @@ public class DiscoverInfo extends IQ implements Cloneable { @Override public int hashCode() { - return 37 * variable.hashCode(); + return variable.hashCode(); } @Override