aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java b/sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java
index 1d022191c91..b12616672b7 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java
@@ -68,7 +68,7 @@ public class ProjectConfigurator implements BatchComponent {
public ProjectConfigurator configure(Project project) {
Date analysisDate = loadAnalysisDate();
- checkCurrentAnalyisIsTheLatestOne(project.getKey(), analysisDate);
+ checkCurrentAnalysisIsTheLatestOne(project.getKey(), analysisDate);
project
.setConfiguration(new PropertiesConfiguration()) // will be populated by ProjectSettings
@@ -78,7 +78,7 @@ public class ProjectConfigurator implements BatchComponent {
return this;
}
- private void checkCurrentAnalyisIsTheLatestOne(String projectKey, Date analysisDate) {
+ private void checkCurrentAnalysisIsTheLatestOne(String projectKey, Date analysisDate) {
ResourceModel persistedProject = databaseSession.getSingleResult(ResourceModel.class, "key", projectKey, "enabled", true);
if (persistedProject != null) {
Snapshot lastSnapshot = databaseSession.getSingleResult(Snapshot.class, "resourceId", persistedProject.getId(), "last", true);