diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-05-24 12:48:25 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-05-24 16:36:20 +0200 |
commit | 9e291cdec361a9d49adf6da953913f0ce676f9b7 (patch) | |
tree | 10dc34235b354c27ec0b3d046159cb2b16f06959 /sonar-core | |
parent | a3837a58d3d2f329b994dcafdb1adfed660fb25d (diff) | |
download | sonarqube-9e291cdec361a9d49adf6da953913f0ce676f9b7.tar.gz sonarqube-9e291cdec361a9d49adf6da953913f0ce676f9b7.zip |
remove use of Guava's Objects.equal
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java b/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java index e8885be59ba..12b5f9ae573 100644 --- a/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java +++ b/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java @@ -19,7 +19,6 @@ */ package org.sonar.core.issue; -import com.google.common.base.Objects; import com.google.common.base.Preconditions; import com.google.common.base.Strings; import com.google.common.collect.ImmutableList; @@ -35,6 +34,7 @@ import java.util.Date; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; +import java.util.Objects; import java.util.Set; import javax.annotation.CheckForNull; import javax.annotation.Nullable; @@ -509,7 +509,7 @@ public class DefaultIssue implements Issue, Trackable, org.sonar.api.ce.measure. } public DefaultIssue setFieldChange(IssueChangeContext context, String field, @Nullable Serializable oldValue, @Nullable Serializable newValue) { - if (!Objects.equal(oldValue, newValue)) { + if (!Objects.equals(oldValue, newValue)) { if (currentChange == null) { currentChange = new FieldDiffs(); currentChange.setUserLogin(context.login()); |