]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaws
authorJulien Lancelot <julien.lancelot@gmail.com>
Thu, 29 Aug 2013 15:58:54 +0000 (17:58 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Thu, 29 Aug 2013 15:58:54 +0000 (17:58 +0200)
sonar-batch/src/main/java/org/sonar/batch/phases/PhaseExecutor.java

index 940237ee1a324b5ca3afbf45f6aae748b2ac6ad2..d8ef4d1659ea52a01751895f7384b1958d7f1caf 100644 (file)
@@ -150,10 +150,10 @@ public final class PhaseExecutor {
 
   private void updateStatusJob() {
     if (updateStatusJob != null) {
-      String updateStatusJob = "Update status job";
-      eventBus.fireEvent(new BatchStepEvent(updateStatusJob, true));
+      String stepName = "Update status job";
+      eventBus.fireEvent(new BatchStepEvent(stepName, true));
       this.updateStatusJob.execute();
-      eventBus.fireEvent(new BatchStepEvent(updateStatusJob, false));
+      eventBus.fireEvent(new BatchStepEvent(stepName, false));
     }
   }