From: Simon Brandhof Date: Wed, 30 Sep 2015 13:50:39 +0000 (+0200) Subject: Fix bad commit X-Git-Tag: 5.2-RC1~179 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f4b6dcad1a732ec96955acf22c048e0fe7fd97ea;p=sonarqube.git Fix bad commit --- diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/queue/CeTask.java b/server/sonar-server/src/main/java/org/sonar/server/computation/queue/CeTask.java index 0d847f20e7e..7867c83aea9 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/computation/queue/CeTask.java +++ b/server/sonar-server/src/main/java/org/sonar/server/computation/queue/CeTask.java @@ -98,13 +98,7 @@ public class CeTask { @Override public int hashCode() { - int result = type.hashCode(); - result = 31 * result + uuid.hashCode(); - result = 31 * result + componentUuid.hashCode(); - result = 31 * result + (componentKey != null ? componentKey.hashCode() : 0); - result = 31 * result + (componentName != null ? componentName.hashCode() : 0); - result = 31 * result + (submitterLogin != null ? submitterLogin.hashCode() : 0); - return result; + return uuid.hashCode(); } public static final class Builder {