From b22fd0e51b66fda30a7460dd7c0ac819822dfdd8 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 7 Jun 2013 15:08:41 +0200 Subject: [PATCH] Fix method name typo --- .../src/main/java/org/sonar/batch/ProjectConfigurator.java | 4 ++-- 1 file 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); -- 2.39.5