From 530789108d5ca1c372ac755f4994b18d03f9c3ee Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 29 Aug 2013 17:58:54 +0200 Subject: [PATCH] Fix quality flaws --- .../src/main/java/org/sonar/batch/phases/PhaseExecutor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sonar-batch/src/main/java/org/sonar/batch/phases/PhaseExecutor.java b/sonar-batch/src/main/java/org/sonar/batch/phases/PhaseExecutor.java index 940237ee1a3..d8ef4d1659e 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/phases/PhaseExecutor.java +++ b/sonar-batch/src/main/java/org/sonar/batch/phases/PhaseExecutor.java @@ -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)); } } -- 2.39.5