From f4b6dcad1a732ec96955acf22c048e0fe7fd97ea Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 30 Sep 2015 15:50:39 +0200 Subject: [PATCH] Fix bad commit --- .../java/org/sonar/server/computation/queue/CeTask.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 { -- 2.39.5