aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-08-28 15:09:22 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-08-28 15:09:48 +0200
commit53ff0ea1de1ef68f7040dac0dba24e52377e8bf5 (patch)
tree871ddc4a8028783f0c4557f81175a97a537a46bd /sonar-batch
parent819ad25a12f354fbdb4d21d31419097187b0baeb (diff)
downloadsonarqube-53ff0ea1de1ef68f7040dac0dba24e52377e8bf5.tar.gz
sonarqube-53ff0ea1de1ef68f7040dac0dba24e52377e8bf5.zip
Replace bad imports of org.elasticsearch.common by guava
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingDataBuilder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingDataBuilder.java b/sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingDataBuilder.java
index 80e784d4211..121a6683bca 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingDataBuilder.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingDataBuilder.java
@@ -19,11 +19,11 @@
*/
package org.sonar.batch.highlighting;
+import com.google.common.collect.Sets;
import org.sonar.api.batch.sensor.highlighting.TypeOfText;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.Ordering;
-import org.elasticsearch.common.collect.Sets;
import javax.annotation.Nullable;
@@ -38,7 +38,7 @@ public class SyntaxHighlightingDataBuilder {
syntaxHighlightingRuleSet = Sets.newTreeSet(new Ordering<SyntaxHighlightingRule>() {
@Override
public int compare(@Nullable SyntaxHighlightingRule left,
- @Nullable SyntaxHighlightingRule right) {
+ @Nullable SyntaxHighlightingRule right) {
int result = left.getStartPosition() - right.getStartPosition();
if (result == 0) {
result = left.getEndPosition() - right.getEndPosition();