aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-duplications/src/main/java/org/sonar
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-05-24 12:48:25 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-05-24 16:36:20 +0200
commit9e291cdec361a9d49adf6da953913f0ce676f9b7 (patch)
tree10dc34235b354c27ec0b3d046159cb2b16f06959 /sonar-duplications/src/main/java/org/sonar
parenta3837a58d3d2f329b994dcafdb1adfed660fb25d (diff)
downloadsonarqube-9e291cdec361a9d49adf6da953913f0ce676f9b7.tar.gz
sonarqube-9e291cdec361a9d49adf6da953913f0ce676f9b7.zip
remove use of Guava's Objects.equal
Diffstat (limited to 'sonar-duplications/src/main/java/org/sonar')
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/SuffixTree.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/SuffixTree.java b/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/SuffixTree.java
index fc0975dd87d..9d97443a8bc 100644
--- a/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/SuffixTree.java
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/SuffixTree.java
@@ -19,7 +19,7 @@
*/
package org.sonar.duplications.detector.suffixtree;
-import com.google.common.base.Objects;
+import java.util.Objects;
/**
* Provides algorithm to construct suffix tree.
@@ -80,7 +80,7 @@ public final class SuffixTree {
// implicit node, a little more complicated
edge = active.getOriginNode().findEdge(symbolAt(active.getBeginIndex()));
int span = active.getSpan();
- if (Objects.equal(symbolAt(edge.getBeginIndex() + span + 1), symbolAt(endIndex))) {
+ if (Objects.equals(symbolAt(edge.getBeginIndex() + span + 1), symbolAt(endIndex))) {
break;
}
parentNode = edge.splitEdge(active);