aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-07-27 10:44:06 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2017-08-07 11:44:06 +0200
commit180fa079b253a4ae70db95b28ede4f09fb793728 (patch)
tree98c0103639d6f0b14dae5c3899cf6db970530d1b
parentc6a65ca5b4714ddcf4341d3b32932901403a6948 (diff)
downloadsonarqube-180fa079b253a4ae70db95b28ede4f09fb793728.tar.gz
sonarqube-180fa079b253a4ae70db95b28ede4f09fb793728.zip
Validate incremental plugin
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStep.java11
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStepTest.java2
2 files changed, 7 insertions, 6 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStep.java b/server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStep.java
index 5dd6a9de54a..56dc9be618d 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStep.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStep.java
@@ -19,8 +19,10 @@
*/
package org.sonar.server.computation.task.projectanalysis.step;
-import com.google.common.base.Joiner;
-import com.google.common.base.Optional;
+import static com.google.common.collect.FluentIterable.from;
+import static java.lang.String.format;
+import static org.sonar.api.utils.DateUtils.formatDateTime;
+
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@@ -48,9 +50,8 @@ import org.sonar.server.computation.task.projectanalysis.component.TypeAwareVisi
import org.sonar.server.computation.task.projectanalysis.validation.ValidateIncremental;
import org.sonar.server.computation.task.step.ComputationStep;
-import static com.google.common.collect.FluentIterable.from;
-import static java.lang.String.format;
-import static org.sonar.api.utils.DateUtils.formatDateTime;
+import com.google.common.base.Joiner;
+import com.google.common.base.Optional;
/**
* Validate project and modules. It will fail in the following cases :
diff --git a/server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStepTest.java b/server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStepTest.java
index 4e28196160c..7f91d63cfbd 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStepTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/step/ValidateProjectStepTest.java
@@ -367,4 +367,4 @@ public class ValidateProjectStepTest {
underTest.execute();
}
-}
+} \ No newline at end of file