]> source.dussan.org Git - sonarqube.git/commitdiff
Fix method name typo
authorJulien Lancelot <julien.lancelot@gmail.com>
Fri, 7 Jun 2013 13:08:41 +0000 (15:08 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Fri, 7 Jun 2013 13:08:41 +0000 (15:08 +0200)
sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java

index 1d022191c91865dbea69bc5c01872f588048d3f8..b12616672b7d6b297fb0cd8e3de57ca0f99e09ce 100644 (file)
@@ -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);