From 0145942f510a28a8f2f363e6cae127d26a85dcdc Mon Sep 17 00:00:00 2001 From: dsyer Date: Fri, 5 Oct 2007 10:16:25 +0000 Subject: [PATCH] Rename local variables --- .../batch/execution/bootstrap/AbstractJobLauncher.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/execution/src/main/java/org/springframework/batch/execution/bootstrap/AbstractJobLauncher.java b/execution/src/main/java/org/springframework/batch/execution/bootstrap/AbstractJobLauncher.java index 8dd49d538..18fbf1b26 100644 --- a/execution/src/main/java/org/springframework/batch/execution/bootstrap/AbstractJobLauncher.java +++ b/execution/src/main/java/org/springframework/batch/execution/bootstrap/AbstractJobLauncher.java @@ -279,20 +279,20 @@ public abstract class AbstractJobLauncher implements JobLauncher, * * @see org.springframework.batch.container.bootstrap.BatchContainerLauncher#isRunning() */ - public boolean isRunning() { + final public boolean isRunning() { Collection jobs = new HashSet(registry.keySet()); for (Iterator iter = jobs.iterator(); iter.hasNext();) { - JobIdentifier context = (JobIdentifier) iter.next(); - if (!isRunning(context)) { + JobIdentifier jobIdentifier = (JobIdentifier) iter.next(); + if (!isRunning(jobIdentifier)) { return false; } } return !jobs.isEmpty(); } - protected boolean isRunning(JobIdentifier runtimeInformation) { + protected boolean isRunning(JobIdentifier jobIdentifier) { synchronized (registry) { - return registry.get(runtimeInformation) != null; + return registry.get(jobIdentifier) != null; } }