You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@batchee.apache.org by st...@apache.org on 2014/02/28 17:13:53 UTC

[4/4] git commit: fix checkstyle issues in our codebase

fix checkstyle issues in our codebase


Project: http://git-wip-us.apache.org/repos/asf/incubator-batchee/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-batchee/commit/19114f5d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-batchee/tree/19114f5d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-batchee/diff/19114f5d

Branch: refs/heads/master
Commit: 19114f5d3c5e2d24457142fb060c4b65da46b839
Parents: 5e41734
Author: Mark Struberg <st...@apache.org>
Authored: Fri Feb 28 17:07:23 2014 +0100
Committer: Mark Struberg <st...@apache.org>
Committed: Fri Feb 28 17:07:23 2014 +0100

----------------------------------------------------------------------
 .../org/apache/batchee/camel/CamelBridge.java   | 10 ++-
 .../batchee/camel/CamelProcessorTest.java       |  4 +-
 .../apache/batchee/camel/CamelReaderTest.java   |  6 +-
 .../apache/batchee/camel/CamelWriterTest.java   |  6 +-
 .../java/org/apache/batchee/groovy/Groovys.java |  3 +-
 .../java/org/apache/batchee/hazelcast/IOs.java  |  5 ++
 .../batchee/jsefa/JsefaConfigurations.java      | 23 ++++--
 .../apache/batchee/servlet/MetricsHelper.java   |  5 +-
 .../batchee/container/impl/JobOperatorImpl.java | 22 ++---
 .../impl/controller/DecisionController.java     |  2 +-
 .../ExecutionElementControllerFactory.java      |  6 +-
 .../controller/JobThreadRootController.java     |  3 +
 .../impl/controller/PartitionedStepBuilder.java |  4 +
 .../controller/PartitionedStepController.java   | 18 ++--
 .../impl/controller/SplitController.java        | 11 +--
 .../batchlet/BatchletStepController.java        | 14 ++--
 .../chunk/CheckpointAlgorithmFactory.java       |  3 +-
 .../controller/chunk/CheckpointManager.java     |  7 +-
 .../impl/controller/chunk/ChunkHelper.java      |  4 +
 .../controller/chunk/ChunkStepController.java   | 27 +++---
 .../impl/jobinstance/JobExecutionHelper.java    | 36 +++++---
 .../RuntimeFlowInSplitExecution.java            |  1 -
 .../impl/jobinstance/RuntimeJobExecution.java   |  7 +-
 .../batchee/container/jsl/CloneUtility.java     |  4 +
 .../jsl/JSLValidationEventHandler.java          |  8 +-
 .../batchee/container/jsl/JobModelResolver.java |  3 +-
 .../org/apache/batchee/container/jsl/Xsds.java  |  4 +
 .../impl/AbstractPropertyResolver.java          |  6 ++
 .../impl/ChunkPropertyResolver.java             | 12 ++-
 .../impl/ExceptionClassesPropertyResolver.java  |  4 +-
 .../impl/PartitionMapperPropertyResolver.java   | 16 ++--
 .../impl/PartitionPlanPropertyResolver.java     | 16 ++--
 .../container/navigator/JobNavigator.java       |  2 +-
 .../container/navigator/NavigatorFactory.java   |  4 +
 .../container/proxy/ListenerFactory.java        | 42 ++++++----
 .../batchee/container/proxy/ProxyFactory.java   | 34 +++++---
 .../container/services/BatchKernelService.java  |  6 +-
 .../container/services/ServicesManager.java     |  1 -
 .../factory/DefaultBatchArtifactFactory.java    |  5 +-
 .../services/kernel/DefaultBatchKernel.java     |  9 +-
 .../persistence/JDBCPersistenceManager.java     | 21 +++--
 .../persistence/JPAPersistenceService.java      |  2 +
 .../persistence/MemoryPersistenceManager.java   |  9 +-
 .../services/persistence/jdbc/Dictionary.java   | 87 +++++++++++++-------
 .../jpa/domain/CheckpointEntity.java            |  3 +-
 .../jpa/domain/JobExecutionEntity.java          |  3 +-
 .../jpa/domain/StepExecutionEntity.java         |  3 +-
 .../transaction/JTAUserTransactionAdapter.java  | 14 ++--
 .../container/status/SplitExecutionStatus.java  |  4 +-
 .../util/BatchFlowInSplitWorkUnit.java          |  1 -
 .../container/util/BatchParallelWorkUnit.java   |  1 -
 .../container/util/DependencyInjections.java    |  5 ++
 .../apache/batchee/jmx/BatchEEMBeanImpl.java    | 21 +++--
 pom.xml                                         | 11 ++-
 .../batchee/test/SynchronousJobOperator.java    |  6 +-
 .../org/apache/batchee/cli/command/Running.java |  1 -
 .../apache/batchee/tools/maven/DiagramMojo.java |  1 -
 57 files changed, 394 insertions(+), 202 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/extensions/camel/src/main/java/org/apache/batchee/camel/CamelBridge.java
----------------------------------------------------------------------
diff --git a/extensions/camel/src/main/java/org/apache/batchee/camel/CamelBridge.java b/extensions/camel/src/main/java/org/apache/batchee/camel/CamelBridge.java
index 6525db7..03b3011 100644
--- a/extensions/camel/src/main/java/org/apache/batchee/camel/CamelBridge.java
+++ b/extensions/camel/src/main/java/org/apache/batchee/camel/CamelBridge.java
@@ -22,9 +22,13 @@ import org.apache.camel.ProducerTemplate;
 import org.apache.camel.impl.DefaultCamelContext;
 
 public class CamelBridge {
-    protected static final DefaultCamelContext CONTEXT = new DefaultCamelContext();
-    protected static final ProducerTemplate PRODUCER_TEMPLATE = CONTEXT.createProducerTemplate();
-    protected static final ConsumerTemplate CONSUMER_TEMPLATE = CONTEXT.createConsumerTemplate();
+    static final DefaultCamelContext CONTEXT = new DefaultCamelContext();
+    static final ProducerTemplate PRODUCER_TEMPLATE = CONTEXT.createProducerTemplate();
+    static final ConsumerTemplate CONSUMER_TEMPLATE = CONTEXT.createConsumerTemplate();
+
+    private CamelBridge() {
+        // private utility class ct
+    }
 
     protected static Object process(final String locator, final String endpoint, final Object body) throws Exception {
         final BeanLocator.LocatorInstance<CamelTemplateLocator> locatorInstance = locator(locator);

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/extensions/camel/src/test/java/org/apache/batchee/camel/CamelProcessorTest.java
----------------------------------------------------------------------
diff --git a/extensions/camel/src/test/java/org/apache/batchee/camel/CamelProcessorTest.java b/extensions/camel/src/test/java/org/apache/batchee/camel/CamelProcessorTest.java
index 316035e..183ed04 100644
--- a/extensions/camel/src/test/java/org/apache/batchee/camel/CamelProcessorTest.java
+++ b/extensions/camel/src/test/java/org/apache/batchee/camel/CamelProcessorTest.java
@@ -33,11 +33,11 @@ import java.util.Properties;
 
 import static org.testng.Assert.assertEquals;
 
-public class CamelProcessorTest extends CamelBridge {
+public class CamelProcessorTest {
     @Test
     public void process() throws Exception {
         final List<Exchange> exchanges = new ArrayList<Exchange>(2);
-        final Consumer consumer = CONTEXT.getEndpoint("direct:processor").createConsumer(new Processor() {
+        final Consumer consumer = CamelBridge.CONTEXT.getEndpoint("direct:processor").createConsumer(new Processor() {
             @Override
             public void process(final Exchange exchange) throws Exception {
                 exchanges.add(exchange);

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/extensions/camel/src/test/java/org/apache/batchee/camel/CamelReaderTest.java
----------------------------------------------------------------------
diff --git a/extensions/camel/src/test/java/org/apache/batchee/camel/CamelReaderTest.java b/extensions/camel/src/test/java/org/apache/batchee/camel/CamelReaderTest.java
index 66f4d5f..2db6f6f 100644
--- a/extensions/camel/src/test/java/org/apache/batchee/camel/CamelReaderTest.java
+++ b/extensions/camel/src/test/java/org/apache/batchee/camel/CamelReaderTest.java
@@ -30,16 +30,16 @@ import java.util.Properties;
 
 import static org.testng.Assert.assertEquals;
 
-public class CamelReaderTest extends CamelBridge {
+public class CamelReaderTest {
     @Test
     public void read() throws Exception {
-        final ProducerTemplate tpl = CONTEXT.createProducerTemplate();
+        final ProducerTemplate tpl = CamelBridge.CONTEXT.createProducerTemplate();
 
         final JobOperator jobOperator = BatchRuntime.getJobOperator();
 
         final long id = jobOperator.start("camel-reader", new Properties());
 
-        while (DirectEndpoint.class.cast(CONTEXT.getEndpoint("direct:reader")).getConsumer() == null) {
+        while (DirectEndpoint.class.cast(CamelBridge.CONTEXT.getEndpoint("direct:reader")).getConsumer() == null) {
             Thread.sleep(100);
         }
 

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/extensions/camel/src/test/java/org/apache/batchee/camel/CamelWriterTest.java
----------------------------------------------------------------------
diff --git a/extensions/camel/src/test/java/org/apache/batchee/camel/CamelWriterTest.java b/extensions/camel/src/test/java/org/apache/batchee/camel/CamelWriterTest.java
index 530fc21..396a8af 100644
--- a/extensions/camel/src/test/java/org/apache/batchee/camel/CamelWriterTest.java
+++ b/extensions/camel/src/test/java/org/apache/batchee/camel/CamelWriterTest.java
@@ -34,10 +34,10 @@ import java.util.concurrent.TimeUnit;
 
 import static org.testng.Assert.assertTrue;
 
-public class CamelWriterTest extends CamelBridge {
+public class CamelWriterTest {
     @Test
     public void write() throws Exception {
-        final ConsumerTemplate tpl = CONTEXT.createConsumerTemplate();
+        final ConsumerTemplate tpl = CamelBridge.CONTEXT.createConsumerTemplate();
         final Collection<Object> received = new ArrayList<Object>(2);
 
         final ExecutorService thread = Executors.newSingleThreadExecutor();
@@ -53,7 +53,7 @@ public class CamelWriterTest extends CamelBridge {
 
         do { // starting the listener in another thread w can get timing issues so ensuring we are in the right state
             Thread.sleep(20);
-        } while (DirectEndpoint.class.cast(CONTEXT.getEndpoint("direct:writer")).getConsumer() == null);
+        } while (DirectEndpoint.class.cast(CamelBridge.CONTEXT.getEndpoint("direct:writer")).getConsumer() == null);
 
         final JobOperator jobOperator = BatchRuntime.getJobOperator();
         Batches.waitForEnd(jobOperator, jobOperator.start("camel-writer", new Properties()));

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/extensions/groovy/src/main/java/org/apache/batchee/groovy/Groovys.java
----------------------------------------------------------------------
diff --git a/extensions/groovy/src/main/java/org/apache/batchee/groovy/Groovys.java b/extensions/groovy/src/main/java/org/apache/batchee/groovy/Groovys.java
index dd0fbfb..af99cbc 100644
--- a/extensions/groovy/src/main/java/org/apache/batchee/groovy/Groovys.java
+++ b/extensions/groovy/src/main/java/org/apache/batchee/groovy/Groovys.java
@@ -28,7 +28,8 @@ import java.lang.reflect.Constructor;
 import java.lang.reflect.Method;
 
 public final class Groovys {
-    public static <T> GroovyInstance<T> newInstance(final Class<T> expected, final String path, final JobContext jobContext, final StepContext stepContext) throws IllegalAccessException, InstantiationException {
+    public static <T> GroovyInstance<T> newInstance(final Class<T> expected, final String path, final JobContext jobContext, final StepContext stepContext)
+            throws IllegalAccessException, InstantiationException {
         if (path == null) {
             throw new BatchRuntimeException("no script configured expected");
         }

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/extensions/hazelcast/src/main/java/org/apache/batchee/hazelcast/IOs.java
----------------------------------------------------------------------
diff --git a/extensions/hazelcast/src/main/java/org/apache/batchee/hazelcast/IOs.java b/extensions/hazelcast/src/main/java/org/apache/batchee/hazelcast/IOs.java
index 0f20057..495401a 100644
--- a/extensions/hazelcast/src/main/java/org/apache/batchee/hazelcast/IOs.java
+++ b/extensions/hazelcast/src/main/java/org/apache/batchee/hazelcast/IOs.java
@@ -22,6 +22,11 @@ import java.io.IOException;
 import java.io.InputStream;
 
 final class IOs {
+
+    private IOs() {
+        // private utility class ct
+    }
+
     public static InputStream findConfiguration(final String path) throws IOException {
         if (new File(path).exists()) {
             return new FileInputStream(path);

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/extensions/jsefa/src/main/java/org/apache/batchee/jsefa/JsefaConfigurations.java
----------------------------------------------------------------------
diff --git a/extensions/jsefa/src/main/java/org/apache/batchee/jsefa/JsefaConfigurations.java b/extensions/jsefa/src/main/java/org/apache/batchee/jsefa/JsefaConfigurations.java
index 547f487..5afb53b 100644
--- a/extensions/jsefa/src/main/java/org/apache/batchee/jsefa/JsefaConfigurations.java
+++ b/extensions/jsefa/src/main/java/org/apache/batchee/jsefa/JsefaConfigurations.java
@@ -60,10 +60,12 @@ public class JsefaConfigurations {
             configuration.setValidationMode(ValidationMode.valueOf(validationMode));
         }
         if (objectAccessorProvider != null) {
-            configuration.setObjectAccessorProvider(ObjectAccessorProvider.class.cast(Thread.currentThread().getContextClassLoader().loadClass(objectAccessorProvider).newInstance()));
+            configuration.setObjectAccessorProvider(ObjectAccessorProvider.class.cast(
+                    Thread.currentThread().getContextClassLoader().loadClass(objectAccessorProvider).newInstance()));
         }
         if (simpleTypeProvider != null) {
-            configuration.setSimpleTypeConverterProvider(SimpleTypeConverterProvider.class.cast(Thread.currentThread().getContextClassLoader().loadClass(simpleTypeProvider).newInstance()));
+            configuration.setSimpleTypeConverterProvider(SimpleTypeConverterProvider.class.cast(
+                    Thread.currentThread().getContextClassLoader().loadClass(simpleTypeProvider).newInstance()));
         }
         if (typeMappingRegistry != null) {
             configuration.setTypeMappingRegistry((A) Thread.currentThread().getContextClassLoader().loadClass(typeMappingRegistry).newInstance());
@@ -73,12 +75,14 @@ public class JsefaConfigurations {
         }
     }
 
+//CHECKSTYLE:OFF
     public static <A extends RbfLowLevelConfiguration> void setRbfConfiguration(final RbfConfiguration<A> configuration,
                                                                                 final String validationMode, final String validationProvider,
                                                                                 final String lowLevelConfiguration, final String objectAccessorProvider,
                                                                                 final String lineFilter, final String lineFilterLimit,
                                                                                 final String specialRecordDelimiter, final String simpleTypeProvider,
                                                                                 final String typeMappingRegistry) throws Exception {
+//CHECKSTYLE:ON
         setConfiguration(configuration, validationMode, validationProvider, objectAccessorProvider, simpleTypeProvider, typeMappingRegistry);
         if (lineFilter != null) {
             configuration.setLineFilter(LineFilter.class.cast(Thread.currentThread().getContextClassLoader().loadClass(lineFilter).newInstance()));
@@ -94,34 +98,40 @@ public class JsefaConfigurations {
         }
     }
 
+//CHECKSTYLE:OFF
     public static XmlConfiguration newXmlConfiguration(final String lineBreak, final String dataTypeDefaultNameRegistry, final String lineIndentation,
                                             final String lowLevelConfiguration, final String namespaceManager, final String dataTypeAttributeName,
                                             final String validationMode, final String validationProvider,
                                             final String objectAccessorProvider, final String simpleTypeProvider,
                                             final String typeMappingRegistry) throws Exception {
+//CHECKSTYLE:ON
         final XmlConfiguration configuration = new XmlConfiguration();
         JsefaConfigurations.setConfiguration(configuration, validationMode, validationProvider, objectAccessorProvider, simpleTypeProvider, typeMappingRegistry);
         if (lineBreak != null) {
             configuration.setLineBreak(lineBreak);
         }
         if (dataTypeDefaultNameRegistry != null) {
-            configuration.setDataTypeDefaultNameRegistry(XmlDataTypeDefaultNameRegistry.class.cast(Thread.currentThread().getContextClassLoader().loadClass(dataTypeDefaultNameRegistry).newInstance()));
+            configuration.setDataTypeDefaultNameRegistry(XmlDataTypeDefaultNameRegistry.class.cast(
+                    Thread.currentThread().getContextClassLoader().loadClass(dataTypeDefaultNameRegistry).newInstance()));
         }
         if (lineIndentation != null) {
             configuration.setLineIndentation(lineIndentation);
         }
         if (lowLevelConfiguration != null) {
-            configuration.setLowLevelConfiguration(XmlLowLevelConfiguration.class.cast(Thread.currentThread().getContextClassLoader().loadClass(lowLevelConfiguration).newInstance()));
+            configuration.setLowLevelConfiguration(XmlLowLevelConfiguration.class.cast(
+                    Thread.currentThread().getContextClassLoader().loadClass(lowLevelConfiguration).newInstance()));
         }
         if (namespaceManager != null) {
             configuration.setNamespaceManager(NamespaceManager.class.cast(Thread.currentThread().getContextClassLoader().loadClass(namespaceManager).newInstance()));
         }
         if (dataTypeAttributeName != null) {
-            configuration.setDataTypeAttributeName(QName.create(dataTypeAttributeName.substring(1, dataTypeAttributeName.indexOf("}")), dataTypeAttributeName.substring(dataTypeAttributeName.indexOf("}") + 1))); // allow {xxx}yyy syntax
+            configuration.setDataTypeAttributeName(QName.create(dataTypeAttributeName.substring(1, dataTypeAttributeName.indexOf("}")),
+                    dataTypeAttributeName.substring(dataTypeAttributeName.indexOf("}") + 1))); // allow {xxx}yyy syntax
         }
         return configuration;
     }
 
+//CHECKSTYLE:OFF
     public static CsvConfiguration newCsvConfiguration(final String defaultNoValueString, final String defaultQuoteMode,
                                                        final String fieldDelimiter, final String lineBreak, final String quoteCharacter,
                                                        final String quoteCharacterEscapeMode, final String useDelimiterAfterLastField,
@@ -130,6 +140,7 @@ public class JsefaConfigurations {
                                                        final String lineFilterLimit, final String objectAccessorProvider,
                                                        final String specialRecordDelimiter, final String simpleTypeProvider,
                                                        final String typeMappingRegistry) throws Exception {
+//CHECKSTYLE:ON
         final CsvConfiguration configuration = new CsvConfiguration();
         setRbfConfiguration(configuration, validationMode, validationProvider, lowLevelConfiguration, objectAccessorProvider,
             lineFilter, lineFilterLimit, specialRecordDelimiter, simpleTypeProvider, typeMappingRegistry);
@@ -157,12 +168,14 @@ public class JsefaConfigurations {
         return configuration;
     }
 
+//CHECKSTYLE:OFF
     public static FlrConfiguration newFlrConfiguration(final String defaultPadCharacter, final String lineBreak,
                                                        final String validationMode, final String validationProvider,
                                                        final String lineFilter, final String lowLevelConfiguration,
                                                        final String lineFilterLimit, final String objectAccessorProvider,
                                                        final String specialRecordDelimiter, final String simpleTypeProvider,
                                                        final String typeMappingRegistry) throws Exception {
+//CHECKSTYLE:ON
         final FlrConfiguration configuration = new FlrConfiguration();
         setRbfConfiguration(configuration, validationMode, validationProvider, lowLevelConfiguration, objectAccessorProvider,
             lineFilter, lineFilterLimit, specialRecordDelimiter, simpleTypeProvider, typeMappingRegistry);

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/gui/servlet/src/main/java/org/apache/batchee/servlet/MetricsHelper.java
----------------------------------------------------------------------
diff --git a/gui/servlet/src/main/java/org/apache/batchee/servlet/MetricsHelper.java b/gui/servlet/src/main/java/org/apache/batchee/servlet/MetricsHelper.java
index 57a5af2..ac2dee2 100644
--- a/gui/servlet/src/main/java/org/apache/batchee/servlet/MetricsHelper.java
+++ b/gui/servlet/src/main/java/org/apache/batchee/servlet/MetricsHelper.java
@@ -19,8 +19,9 @@ package org.apache.batchee.servlet;
 import javax.batch.runtime.Metric;
 
 public final class MetricsHelper {
-    public MetricsHelper() {
-        // no-op
+
+    private MetricsHelper() {
+        // private utility class ct
     }
 
     public static String toString(final Metric[] metrics) {

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/JobOperatorImpl.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/JobOperatorImpl.java b/jbatch/src/main/java/org/apache/batchee/container/impl/JobOperatorImpl.java
index 1425f02..a64249f 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/JobOperatorImpl.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/JobOperatorImpl.java
@@ -126,9 +126,9 @@ public class JobOperatorImpl implements JobOperator {
         }
 
         /*
-		 * The whole point of this method is to have JobStartException serve as a blanket exception for anything other 
-		 * than the rest of the more specific exceptions declared on the throws clause.  So we won't log but just rethrow.
-		 */
+         * The whole point of this method is to have JobStartException serve as a blanket exception for anything other
+         * than the rest of the more specific exceptions declared on the throws clause.  So we won't log but just rethrow.
+         */
         try {
             return startInternal(jobXMLName, jobParameters);
         } catch (final JobSecurityException e) {
@@ -336,11 +336,12 @@ public class JobOperatorImpl implements JobOperator {
     }
 
     @Override
-    public long restart(long oldExecutionId, Properties restartParameters) throws JobExecutionAlreadyCompleteException, NoSuchJobExecutionException, JobExecutionNotMostRecentException, JobRestartException, JobSecurityException {
-		/*
-		 * The whole point of this method is to have JobRestartException serve as a blanket exception for anything other 
-		 * than the rest of the more specific exceptions declared on the throws clause.  So we won't log but just rethrow.
-		 */
+    public long restart(long oldExecutionId, Properties restartParameters)
+            throws JobExecutionAlreadyCompleteException, NoSuchJobExecutionException, JobExecutionNotMostRecentException, JobRestartException, JobSecurityException {
+        /*
+         * The whole point of this method is to have JobRestartException serve as a blanket exception for anything other
+         * than the rest of the more specific exceptions declared on the throws clause.  So we won't log but just rethrow.
+         */
         try {
             return restartInternal(oldExecutionId, restartParameters);
         } catch (JobExecutionAlreadyCompleteException e) {
@@ -356,7 +357,8 @@ public class JobOperatorImpl implements JobOperator {
         }
     }
 
-    private long restartInternal(final long oldExecutionId, final Properties restartParameters) throws JobExecutionAlreadyCompleteException, NoSuchJobExecutionException, JobExecutionNotMostRecentException, JobRestartException, JobSecurityException {
+    private long restartInternal(final long oldExecutionId, final Properties restartParameters)
+            throws JobExecutionAlreadyCompleteException, NoSuchJobExecutionException, JobExecutionNotMostRecentException, JobRestartException, JobSecurityException {
         if (!securityService.isAuthorized(persistenceManagerService.getJobInstanceIdByExecutionId(oldExecutionId))) {
             throw new JobSecurityException("The current user is not authorized to perform this operation");
         }
@@ -387,4 +389,4 @@ public class JobOperatorImpl implements JobOperator {
     public void waitFor(final long id) {
         callbackService.waitFor(id);
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/DecisionController.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/DecisionController.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/DecisionController.java
index bbd6c93..6c44feb 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/DecisionController.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/DecisionController.java
@@ -58,7 +58,7 @@ public class DecisionController implements ExecutionElementController {
 
         //Create a decider proxy and inject the associated properties
 
-		/* Set the contexts associated with this scope */
+        /* Set the contexts associated with this scope */
         //job context is always in scope
         //the parent controller will only pass one valid context to a decision controller
         //so two of these contexts will always be null

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/ExecutionElementControllerFactory.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/ExecutionElementControllerFactory.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/ExecutionElementControllerFactory.java
index 1492875..2d5b7ff 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/ExecutionElementControllerFactory.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/ExecutionElementControllerFactory.java
@@ -71,11 +71,13 @@ public class ExecutionElementControllerFactory {
         return new DecisionController(jobExecutionImpl, decision, servicesManager);
     }
 
-    public static FlowController getFlowController(final ServicesManager servicesManager, final RuntimeJobExecution jobExecutionImpl, final Flow flow, final long rootJobExecutionId) {
+    public static FlowController getFlowController(final ServicesManager servicesManager, final RuntimeJobExecution jobExecutionImpl,
+                                                   final Flow flow, final long rootJobExecutionId) {
         return new FlowController(jobExecutionImpl, flow, rootJobExecutionId, servicesManager);
     }
 
-    public static SplitController getSplitController(final BatchKernelService kernel, final RuntimeJobExecution jobExecutionImpl, final Split split, final long rootJobExecutionId) {
+    public static SplitController getSplitController(final BatchKernelService kernel, final RuntimeJobExecution jobExecutionImpl,
+                                                     final Split split, final long rootJobExecutionId) {
         return new SplitController(jobExecutionImpl, split, rootJobExecutionId, kernel);
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/JobThreadRootController.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/JobThreadRootController.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/JobThreadRootController.java
index ece942f..4550da1 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/JobThreadRootController.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/JobThreadRootController.java
@@ -118,6 +118,9 @@ public abstract class JobThreadRootController implements ThreadRootController {
                     case EXCEPTION_THROWN:
                         updateJobBatchStatus(BatchStatus.FAILED);
                         break;
+                    default:
+                        // all ok
+                        break;
                 }
             }
         } catch (final Throwable t) {

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepBuilder.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepBuilder.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepBuilder.java
index 81e63dd..ba1068e 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepBuilder.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepBuilder.java
@@ -30,6 +30,10 @@ import javax.batch.runtime.context.JobContext;
 public class PartitionedStepBuilder {
     public static final String JOB_ID_SEPARATOR = ":";  // Use something permissible in NCName to allow us to key off of.
 
+    private PartitionedStepBuilder() {
+        // private utility class ct
+    }
+
     /*
      * Build a generated job with only one flow in it to submit to the
      * BatchKernel. This is used to build subjobs from splits.

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepController.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepController.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepController.java
index 2d1dd24..efe49de 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepController.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/PartitionedStepController.java
@@ -136,7 +136,8 @@ public class PartitionedStepController extends BaseStepController {
             // Set all the contexts associated with this controller.
             // Some of them may be null
             final InjectionReferences injectionRef = new InjectionReferences(jobExecutionImpl.getJobContext(), stepContext, propertyList);
-            final PartitionMapperProxy partitionMapperProxy = ProxyFactory.createPartitionMapperProxy(factory, partitionMapper.getRef(), injectionRef, stepContext, jobExecutionImpl);
+            final PartitionMapperProxy partitionMapperProxy =
+                    ProxyFactory.createPartitionMapperProxy(factory, partitionMapper.getRef(), injectionRef, stepContext, jobExecutionImpl);
 
 
             final PartitionPlan mapperPlan = partitionMapperProxy.mapPartitions();
@@ -245,13 +246,13 @@ public class PartitionedStepController extends BaseStepController {
         //persist the partition plan so on restart we have the same plan to reuse
         stepStatus.setNumPartitions(plan.getPartitions());
 
-		/* When true is specified, the partition count from the current run
+        /* When true is specified, the partition count from the current run
          * is used and all results from past partitions are discarded. Any
-		 * resource cleanup or back out of work done in the previous run is the
-		 * responsibility of the application. The PartitionReducer artifact's
-		 * rollbackPartitionedStep method is invoked during restart before any
-		 * partitions begin processing to provide a cleanup hook.
-		 */
+         * resource cleanup or back out of work done in the previous run is the
+         * responsibility of the application. The PartitionReducer artifact's
+         * rollbackPartitionedStep method is invoked during restart before any
+         * partitions begin processing to provide a cleanup hook.
+         */
         if (plan.getPartitionsOverride()) {
             if (this.partitionReducerProxy != null) {
                 this.partitionReducerProxy.rollbackPartitionedStep();
@@ -285,7 +286,8 @@ public class PartitionedStepController extends BaseStepController {
                 subJobs.add(PartitionedStepBuilder.buildPartitionSubJob(jobExecutionImpl.getInstanceId(), jobExecutionImpl.getJobContext(), step, instance));
             }
 
-            PartitionsBuilderConfig config = new PartitionsBuilderConfig(subJobs, partitionProperties, analyzerStatusQueue, completedWorkQueue, jobExecutionImpl.getExecutionId());
+            PartitionsBuilderConfig config =
+                    new PartitionsBuilderConfig(subJobs, partitionProperties, analyzerStatusQueue, completedWorkQueue, jobExecutionImpl.getExecutionId());
             // Then build all the subjobs but do not start them yet
             if (stepStatus.getStartCount() > 1 && !plan.getPartitionsOverride()) {
                 parallelBatchWorkUnits = kernelService.buildOnRestartParallelPartitions(config);

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/SplitController.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/SplitController.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/SplitController.java
index 43c26bb..2f0582d 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/SplitController.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/SplitController.java
@@ -22,7 +22,6 @@ import org.apache.batchee.container.impl.JobContextImpl;
 import org.apache.batchee.container.impl.jobinstance.RuntimeFlowInSplitExecution;
 import org.apache.batchee.container.impl.jobinstance.RuntimeJobExecution;
 import org.apache.batchee.container.services.BatchKernelService;
-import org.apache.batchee.container.services.ServicesManager;
 import org.apache.batchee.container.status.ExecutionStatus;
 import org.apache.batchee.container.status.ExtendedBatchStatus;
 import org.apache.batchee.container.status.SplitExecutionStatus;
@@ -91,7 +90,8 @@ public class SplitController implements ExecutionElementController {
     }
 
     @Override
-    public SplitExecutionStatus execute() throws JobRestartException, JobStartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
+    public SplitExecutionStatus execute()
+            throws JobRestartException, JobStartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
         // Build all sub jobs from partitioned step
         buildSubJobBatchWorkUnits();
 
@@ -174,7 +174,8 @@ public class SplitController implements ExecutionElementController {
     // A <fail> and an uncaught exception are peers.  They each take precedence over a <stop>, which take precedence over an <end>.
     // Among peers the last one seen gets to set the exit stauts.
     //
-    private ExtendedBatchStatus aggregateTerminatingStatusFromSingleFlow(final ExtendedBatchStatus aggregateStatus, final ExecutionStatus flowStatus, final SplitExecutionStatus splitStatus) {
+    private ExtendedBatchStatus aggregateTerminatingStatusFromSingleFlow(final ExtendedBatchStatus aggregateStatus, final ExecutionStatus flowStatus,
+                                                                         final SplitExecutionStatus splitStatus) {
         final String exitStatus = flowStatus.getExitStatus();
         final String restartOn = flowStatus.getRestartOn();
         final ExtendedBatchStatus flowBatchStatus = flowStatus.getExtendedBatchStatus();
@@ -201,8 +202,8 @@ public class SplitController implements ExecutionElementController {
                     }
                 } else if (aggregateStatus.equals(ExtendedBatchStatus.JSL_FAIL) || aggregateStatus.equals(ExtendedBatchStatus.EXCEPTION_THROWN)) {
                     if (flowBatchStatus.equals(ExtendedBatchStatus.JSL_FAIL) || flowBatchStatus.equals(ExtendedBatchStatus.EXCEPTION_THROWN)) {
-                        logger.warning("Current flow's batch and exit status will take precedence over and override earlier one from <fail> transition element or exception thrown. " +
-                            "Overriding, setting exit status if non-null and preparing to end job.");
+                        logger.warning("Current flow's batch and exit status will take precedence over and override earlier one from <fail> transition element  " +
+                            "or exception thrown. Overriding, setting exit status if non-null and preparing to end job.");
                         setInJobContext(flowBatchStatus, exitStatus, restartOn);
                         return flowBatchStatus;
                     }

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/batchlet/BatchletStepController.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/batchlet/BatchletStepController.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/batchlet/BatchletStepController.java
index 13b60df..0fbd056 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/batchlet/BatchletStepController.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/batchlet/BatchletStepController.java
@@ -73,10 +73,10 @@ public class BatchletStepController extends SingleThreadedStepController {
         //TODO If this step is partitioned create partition artifacts
         /*
         Partition partition = step.getPartition();
-		if (partition != null) {
-			//partition.getConcurrencyElements();
-		}
-		*/
+        if (partition != null) {
+            //partition.getConcurrencyElements();
+        }
+        */
         try {
             invokeBatchlet(step.getBatchlet());
         } finally {
@@ -96,9 +96,9 @@ public class BatchletStepController extends SingleThreadedStepController {
                 batchletProxy.stop();
             }
         }/* else {
-			// TODO do we need to throw an error if the batchlet is already stopping/stopped
-			// a stop gets issued twice
-		}*/
+            // TODO do we need to throw an error if the batchlet is already stopping/stopped
+            // a stop gets issued twice
+        }*/
     }
 
 

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointAlgorithmFactory.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointAlgorithmFactory.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointAlgorithmFactory.java
index 781f41f..c55d1f4 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointAlgorithmFactory.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointAlgorithmFactory.java
@@ -27,7 +27,8 @@ import org.apache.batchee.jaxb.Step;
 import org.apache.batchee.spi.BatchArtifactFactory;
 
 public final class CheckpointAlgorithmFactory {
-    public static CheckpointAlgorithmProxy getCheckpointAlgorithmProxy(final BatchArtifactFactory factory, final Step step, final InjectionReferences injectionReferences, final StepContextImpl stepContext, final RuntimeJobExecution jobExecution) {
+    public static CheckpointAlgorithmProxy getCheckpointAlgorithmProxy(final BatchArtifactFactory factory, final Step step, final InjectionReferences injectionReferences,
+                                                                       final StepContextImpl stepContext, final RuntimeJobExecution jobExecution) {
         final Chunk chunk = step.getChunk();
         final String checkpointType = chunk.getCheckpointPolicy();
         final CheckpointAlgorithmProxy proxy;

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointManager.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointManager.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointManager.java
index f7f01bf..00d7ec0 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointManager.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/CheckpointManager.java
@@ -21,7 +21,6 @@ import org.apache.batchee.container.exception.BatchContainerServiceException;
 import org.apache.batchee.container.proxy.ItemReaderProxy;
 import org.apache.batchee.container.proxy.ItemWriterProxy;
 import org.apache.batchee.spi.PersistenceManagerService;
-import org.apache.batchee.container.services.ServicesManager;
 
 import javax.batch.api.chunk.CheckpointAlgorithm;
 import java.io.ByteArrayOutputStream;
@@ -60,8 +59,10 @@ public class CheckpointManager {
     public void checkpoint() {
         final ByteArrayOutputStream readerChkptBA = new ByteArrayOutputStream();
         final ByteArrayOutputStream writerChkptBA = new ByteArrayOutputStream();
-        final ObjectOutputStream readerOOS, writerOOS;
-        final CheckpointDataKey readerChkptDK, writerChkptDK;
+        final ObjectOutputStream readerOOS;
+        final ObjectOutputStream writerOOS;
+        final CheckpointDataKey readerChkptDK;
+        final CheckpointDataKey writerChkptDK;
         try {
             readerOOS = new ObjectOutputStream(readerChkptBA);
             readerOOS.writeObject(readerProxy.checkpointInfo());

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkHelper.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkHelper.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkHelper.java
index 756d108..2e24855 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkHelper.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkHelper.java
@@ -20,6 +20,10 @@ import org.apache.batchee.jaxb.Chunk;
 
 public class ChunkHelper {
 
+    private ChunkHelper() {
+        // utility class private ct
+    }
+
     public static int getItemCount(Chunk chunk) {
         String chunkSizeStr = chunk.getItemCount();
         int size = 10;

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkStepController.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkStepController.java b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkStepController.java
index 61cadfe..39bf051 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkStepController.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/controller/chunk/ChunkStepController.java
@@ -62,8 +62,7 @@ import java.util.logging.Logger;
 
 public class ChunkStepController extends SingleThreadedStepController {
 
-    private final static String sourceClass = ChunkStepController.class.getName();
-    private final static Logger logger = Logger.getLogger(sourceClass);
+    private final static Logger logger = Logger.getLogger(ChunkStepController.class.getName());
 
     private final PersistenceManagerService persistenceManagerService;
     private final BatchArtifactFactory artifactFactory;
@@ -76,7 +75,8 @@ public class ChunkStepController extends SingleThreadedStepController {
     private CheckpointAlgorithm chkptAlg = null;
     private CheckpointManager checkpointManager;
     private SkipHandler skipHandler = null;
-    private CheckpointDataKey readerChkptDK, writerChkptDK = null;
+    private CheckpointDataKey readerChkptDK = null;
+    private CheckpointDataKey writerChkptDK = null;
     private List<ChunkListenerProxy> chunkListeners = null;
     private List<ItemReadListenerProxy> itemReadListeners = null;
     private List<ItemProcessListenerProxy> itemProcessListeners = null;
@@ -678,12 +678,18 @@ public class ChunkStepController extends SingleThreadedStepController {
             this.itemReadListeners = jobExecutionImpl.getListenerFactory().getItemReadListeners(step, injectionRef, stepContext, jobExecutionImpl);
             this.itemProcessListeners = jobExecutionImpl.getListenerFactory().getItemProcessListeners(step, injectionRef, stepContext, jobExecutionImpl);
             this.itemWriteListeners = jobExecutionImpl.getListenerFactory().getItemWriteListeners(step, injectionRef, stepContext, jobExecutionImpl);
-            final List<SkipProcessListenerProxy> skipProcessListeners = jobExecutionImpl.getListenerFactory().getSkipProcessListeners(step, injectionRef, stepContext, jobExecutionImpl);
-            final List<SkipReadListenerProxy> skipReadListeners = jobExecutionImpl.getListenerFactory().getSkipReadListeners(step, injectionRef, stepContext, jobExecutionImpl);
-            final List<SkipWriteListenerProxy> skipWriteListeners = jobExecutionImpl.getListenerFactory().getSkipWriteListeners(step, injectionRef, stepContext, jobExecutionImpl);
-            final List<RetryProcessListenerProxy> retryProcessListeners = jobExecutionImpl.getListenerFactory().getRetryProcessListeners(step, injectionRef, stepContext, jobExecutionImpl);
-            final List<RetryReadListenerProxy> retryReadListeners = jobExecutionImpl.getListenerFactory().getRetryReadListeners(step, injectionRef, stepContext, jobExecutionImpl);
-            final List<RetryWriteListenerProxy> retryWriteListeners = jobExecutionImpl.getListenerFactory().getRetryWriteListeners(step, injectionRef, stepContext, jobExecutionImpl);
+            final List<SkipProcessListenerProxy> skipProcessListeners
+                    = jobExecutionImpl.getListenerFactory().getSkipProcessListeners(step, injectionRef, stepContext, jobExecutionImpl);
+            final List<SkipReadListenerProxy> skipReadListeners
+                    = jobExecutionImpl.getListenerFactory().getSkipReadListeners(step, injectionRef, stepContext, jobExecutionImpl);
+            final List<SkipWriteListenerProxy> skipWriteListeners
+                    = jobExecutionImpl.getListenerFactory().getSkipWriteListeners(step, injectionRef, stepContext, jobExecutionImpl);
+            final List<RetryProcessListenerProxy> retryProcessListeners
+                    = jobExecutionImpl.getListenerFactory().getRetryProcessListeners(step, injectionRef, stepContext, jobExecutionImpl);
+            final List<RetryReadListenerProxy> retryReadListeners
+                    = jobExecutionImpl.getListenerFactory().getRetryReadListeners(step, injectionRef, stepContext, jobExecutionImpl);
+            final List<RetryWriteListenerProxy> retryWriteListeners
+                    = jobExecutionImpl.getListenerFactory().getRetryWriteListeners(step, injectionRef, stepContext, jobExecutionImpl);
 
             if ("item".equals(checkpointProxy.getCheckpointType())) {
                 chkptAlg = new ItemCheckpointAlgorithm();
@@ -692,7 +698,8 @@ public class ChunkStepController extends SingleThreadedStepController {
                 chkptAlg = checkpointProxy;
             }
 
-            checkpointManager = new CheckpointManager(readerProxy, writerProxy, chkptAlg, jobExecutionImpl.getJobInstance().getInstanceId(), step.getId(), persistenceManagerService);
+            checkpointManager
+                    = new CheckpointManager(readerProxy, writerProxy, chkptAlg, jobExecutionImpl.getJobInstance().getInstanceId(), step.getId(), persistenceManagerService);
 
             skipHandler = new SkipHandler(chunk);
             skipHandler.addSkipProcessListener(skipProcessListeners);

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/JobExecutionHelper.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/JobExecutionHelper.java b/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/JobExecutionHelper.java
index 6230a76..da241aa 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/JobExecutionHelper.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/JobExecutionHelper.java
@@ -42,6 +42,11 @@ import javax.batch.runtime.JobInstance;
 import java.util.Properties;
 
 public class JobExecutionHelper {
+
+    private JobExecutionHelper() {
+        // private utility class ct
+    }
+
     private static ModelNavigator<JSLJob> getResolvedJobNavigator(final String jobXml, final Properties jobParameters, final boolean parallelExecution) {
         final JSLJob jobModel = new JobModelResolver().resolveModel(jobXml);
         final PropertyResolver<JSLJob> propResolver = PropertyResolverFactory.createJobPropertyResolver(parallelExecution);
@@ -94,7 +99,8 @@ public class JobExecutionHelper {
         final ModelNavigator<JSLJob> jobNavigator = getResolvedJobNavigator(jobModel, jobParameters, false);
         final JobContextImpl jobContext = getJobContext(jobNavigator);
         final JobInstance jobInstance = getNewJobInstance(servicesManager, jobNavigator.getRootModelElement().getId(), jobXML);
-        final RuntimeJobExecution executionHelper = servicesManager.service(PersistenceManagerService.class).createJobExecution(jobInstance, jobParameters, jobContext.getBatchStatus());
+        final RuntimeJobExecution executionHelper =
+                servicesManager.service(PersistenceManagerService.class).createJobExecution(jobInstance, jobParameters, jobContext.getBatchStatus());
 
         executionHelper.prepareForExecution(jobContext);
 
@@ -109,7 +115,8 @@ public class JobExecutionHelper {
         final ModelNavigator<JSLJob> jobNavigator = getResolvedJobNavigator(jobModel, null, true);
         final JobContextImpl jobContext = getJobContext(jobNavigator);
         final JobInstance jobInstance = getNewSubJobInstance(servicesManager, jobNavigator.getRootModelElement().getId());
-        final RuntimeFlowInSplitExecution executionHelper = servicesManager.service(PersistenceManagerService.class).createFlowInSplitExecution(jobInstance, jobContext.getBatchStatus());
+        final RuntimeFlowInSplitExecution executionHelper =
+                servicesManager.service(PersistenceManagerService.class).createFlowInSplitExecution(jobInstance, jobContext.getBatchStatus());
 
         executionHelper.prepareForExecution(jobContext);
 
@@ -126,7 +133,8 @@ public class JobExecutionHelper {
 
         final JobInstance jobInstance = getNewSubJobInstance(servicesManager, jobNavigator.getRootModelElement().getId());
 
-        final RuntimeJobExecution executionHelper = servicesManager.service(PersistenceManagerService.class).createJobExecution(jobInstance, jobParameters, jobContext.getBatchStatus());
+        final RuntimeJobExecution executionHelper =
+                servicesManager.service(PersistenceManagerService.class).createJobExecution(jobInstance, jobParameters, jobContext.getBatchStatus());
 
         executionHelper.prepareForExecution(jobContext);
 
@@ -149,30 +157,33 @@ public class JobExecutionHelper {
         }
     }
 
-    private static void validateJobExecutionIsMostRecent(final PersistenceManagerService persistenceManagerService, final long jobInstanceId, final long executionId) throws JobExecutionNotMostRecentException {
+    private static void validateJobExecutionIsMostRecent(final PersistenceManagerService persistenceManagerService, final long jobInstanceId, final long executionId)
+            throws JobExecutionNotMostRecentException {
         final long mostRecentExecutionId = persistenceManagerService.getMostRecentExecutionId(jobInstanceId);
         if (mostRecentExecutionId != executionId) {
             throw new JobExecutionNotMostRecentException("ExecutionId: " + executionId + " is not the most recent execution.");
         }
     }
 
-    public static RuntimeJobExecution restartPartition(final ServicesManager servicesManager, final long execId, final JSLJob gennedJobModel, final Properties partitionProps) throws JobRestartException,
+    public static RuntimeJobExecution restartPartition(final ServicesManager servicesManager, final long execId, final JSLJob gennedJobModel, final Properties partitionProps)
+            throws JobRestartException,
         JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
         return restartExecution(servicesManager, execId, gennedJobModel, partitionProps, true, false);
     }
 
-    public static RuntimeFlowInSplitExecution restartFlowInSplit(final ServicesManager servicesManager, final long execId, final JSLJob gennedJobModel) throws JobRestartException,
-        JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
+    public static RuntimeFlowInSplitExecution restartFlowInSplit(final ServicesManager servicesManager, final long execId, final JSLJob gennedJobModel)
+            throws JobRestartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
         return (RuntimeFlowInSplitExecution) restartExecution(servicesManager, execId, gennedJobModel, null, true, true);
     }
 
-    public static RuntimeJobExecution restartJob(final ServicesManager servicesManager, final long executionId, final Properties restartJobParameters) throws JobRestartException,
-        JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
+    public static RuntimeJobExecution restartJob(final ServicesManager servicesManager, final long executionId, final Properties restartJobParameters)
+            throws JobRestartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
         return restartExecution(servicesManager, executionId, null, restartJobParameters, false, false);
     }
 
-    private static RuntimeJobExecution restartExecution(final ServicesManager servicesManager, final long executionId, final JSLJob gennedJobModel, final Properties restartJobParameters, final boolean parallelExecution, final boolean flowInSplit) throws JobRestartException,
-        JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
+    private static RuntimeJobExecution restartExecution(final ServicesManager servicesManager, final long executionId, final JSLJob gennedJobModel,
+                                                        final Properties restartJobParameters, final boolean parallelExecution, final boolean flowInSplit)
+            throws JobRestartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException {
 
         final PersistenceManagerService persistenceManagerService = servicesManager.service(PersistenceManagerService.class);
         final JobStatusManagerService jobStatusManagerService = servicesManager.service(JobStatusManagerService.class);
@@ -210,7 +221,8 @@ public class JobExecutionHelper {
         return executionHelper;
     }
 
-    public static InternalJobExecution getPersistedJobOperatorJobExecution(final PersistenceManagerService persistenceManagerService, final long jobExecutionId) throws NoSuchJobExecutionException {
+    public static InternalJobExecution getPersistedJobOperatorJobExecution(final PersistenceManagerService persistenceManagerService, final long jobExecutionId)
+            throws NoSuchJobExecutionException {
         return persistenceManagerService.jobOperatorGetJobExecution(jobExecutionId);
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeFlowInSplitExecution.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeFlowInSplitExecution.java b/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeFlowInSplitExecution.java
index bf065bf..8f76404 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeFlowInSplitExecution.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeFlowInSplitExecution.java
@@ -16,7 +16,6 @@
  */
 package org.apache.batchee.container.impl.jobinstance;
 
-import org.apache.batchee.container.services.ServicesManager;
 import org.apache.batchee.container.status.ExecutionStatus;
 import org.apache.batchee.spi.PersistenceManagerService;
 

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeJobExecution.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeJobExecution.java b/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeJobExecution.java
index 184fe02..914b180 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeJobExecution.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/impl/jobinstance/RuntimeJobExecution.java
@@ -51,11 +51,10 @@ public class RuntimeJobExecution {
     }
 
 
-	/*
+    /**
      * Non-spec'd methods (not on the interface, but maybe we should
-	 * put on a second interface).
-	 */
-
+     * put on a second interface).
+     */
     public void prepareForExecution(final JobContextImpl jobContext, final String restartOn) {
         this.jobContext = jobContext;
         this.jobNavigator = jobContext.getNavigator();

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/jsl/CloneUtility.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/jsl/CloneUtility.java b/jbatch/src/main/java/org/apache/batchee/container/jsl/CloneUtility.java
index 06b6c62..0171180 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/jsl/CloneUtility.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/jsl/CloneUtility.java
@@ -35,6 +35,10 @@ import java.util.Properties;
 public class CloneUtility {
     private static final ObjectFactory JSL_FACTORY = new ObjectFactory();
 
+    private CloneUtility() {
+        // private utility class ct
+    }
+
     public static Batchlet cloneBatchlet(final Batchlet batchlet) {
         final Batchlet newBatchlet = JSL_FACTORY.createBatchlet();
         newBatchlet.setRef(batchlet.getRef());

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/jsl/JSLValidationEventHandler.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/jsl/JSLValidationEventHandler.java b/jbatch/src/main/java/org/apache/batchee/container/jsl/JSLValidationEventHandler.java
index e7d7ff2..3b1e4b7 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/jsl/JSLValidationEventHandler.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/jsl/JSLValidationEventHandler.java
@@ -26,7 +26,13 @@ public class JSLValidationEventHandler implements ValidationEventHandler {
     private boolean eventOccurred = false;
 
     public boolean handleEvent(final ValidationEvent event) {
-        logger.warning("JSL invalid per XSD, details: " + ("\nMESSAGE: " + event.getMessage()) + "\nSEVERITY: " + event.getSeverity() + "\nLINKED EXC: " + event.getLinkedException() + "\nLOCATOR INFO:\n------------" + "\n  COLUMN NUMBER:  " + event.getLocator().getColumnNumber() + "\n  LINE NUMBER:  " + event.getLocator().getLineNumber() + "\n  OFFSET:  " + event.getLocator().getOffset() + "\n  CLASS:  " + event.getLocator().getClass() + "\n  NODE:  " + event.getLocator().getNode() + "\n  OBJECT:  " + event.getLocator().getObject() + "\n  URL:  " + event.getLocator().getURL());
+        logger.warning("JSL invalid per XSD, details: " + ("\nMESSAGE: " + event.getMessage()) + "\nSEVERITY: " + event.getSeverity() +
+                "\nLINKED EXC: " + event.getLinkedException() + "\nLOCATOR INFO:\n------------"
+                + "\n  COLUMN NUMBER:  " + event.getLocator().getColumnNumber() +
+                "\n  LINE NUMBER:  " + event.getLocator().getLineNumber() +
+                "\n  OFFSET:  " + event.getLocator().getOffset() + "\n  CLASS:  " + event.getLocator().getClass() +
+                "\n  NODE:  " + event.getLocator().getNode() + "\n  OBJECT:  " + event.getLocator().getObject() +
+                "\n  URL:  " + event.getLocator().getURL());
 
         eventOccurred = true;
 

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/jsl/JobModelResolver.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/jsl/JobModelResolver.java b/jbatch/src/main/java/org/apache/batchee/container/jsl/JobModelResolver.java
index fee7ff5..361abd8 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/jsl/JobModelResolver.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/jsl/JobModelResolver.java
@@ -28,7 +28,8 @@ import java.security.AccessController;
 import java.security.PrivilegedAction;
 
 public class JobModelResolver {
-    private static JAXBContext JOB_CONTEXT;
+    private static final JAXBContext JOB_CONTEXT;
+
     static {
         try {
             JOB_CONTEXT = JAXBContext.newInstance(JSLJob.class.getPackage().getName());

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/jsl/Xsds.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/jsl/Xsds.java b/jbatch/src/main/java/org/apache/batchee/container/jsl/Xsds.java
index fedeb4f..d3616c0 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/jsl/Xsds.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/jsl/Xsds.java
@@ -26,6 +26,10 @@ public class Xsds {
     private static Schema schema = null;
     private static SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
 
+    private Xsds() {
+        // private utility class ct
+    }
+
     public static Schema jobXML() {
         if (schema == null) {
             synchronized (Xsds.class) {

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/AbstractPropertyResolver.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/AbstractPropertyResolver.java b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/AbstractPropertyResolver.java
index e820a50..ff3af4d 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/AbstractPropertyResolver.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/AbstractPropertyResolver.java
@@ -139,6 +139,8 @@ public abstract class AbstractPropertyResolver<B> implements PropertyResolver<B>
                     startIndex = startIndex + lengthDifference; // move start index for next property
                     str = str.replace("#{partitionPlan['" + nextProp.propName + "']}" + nextProp.getDefaultValExprWithDelimitersIfExists(), nextPropValue);
                     break;
+                default:
+                    throw new IllegalStateException("unknown PROPERTY_TYPE " + nextProp.propType);
 
             }
 
@@ -196,6 +198,10 @@ public abstract class AbstractPropertyResolver<B> implements PropertyResolver<B>
                     return value;
                 }
                 break;
+
+            default:
+                throw new IllegalStateException("unknown PROPERTY_TYPE " + propType);
+
         }
 
 

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ChunkPropertyResolver.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ChunkPropertyResolver.java b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ChunkPropertyResolver.java
index 17de7f4..6d5a6cb 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ChunkPropertyResolver.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ChunkPropertyResolver.java
@@ -85,22 +85,26 @@ public class ChunkPropertyResolver extends AbstractPropertyResolver<Chunk> {
 
         // Resolve CheckpointAlgorithm properties
         if (chunk.getCheckpointAlgorithm() != null) {
-            PropertyResolverFactory.createCheckpointAlgorithmPropertyResolver(this.isPartitionedStep).substituteProperties(chunk.getCheckpointAlgorithm(), submittedProps, parentProps);
+            PropertyResolverFactory.createCheckpointAlgorithmPropertyResolver(this.isPartitionedStep).substituteProperties(chunk.getCheckpointAlgorithm(),
+                    submittedProps, parentProps);
         }
 
         // Resolve SkippableExceptionClasses properties
         if (chunk.getSkippableExceptionClasses() != null) {
-            PropertyResolverFactory.createSkippableExceptionClassesPropertyResolver(this.isPartitionedStep).substituteProperties(chunk.getSkippableExceptionClasses(), submittedProps, parentProps);
+            PropertyResolverFactory.createSkippableExceptionClassesPropertyResolver(this.isPartitionedStep).substituteProperties(chunk.getSkippableExceptionClasses(),
+                    submittedProps, parentProps);
         }
 
         // Resolve RetryableExceptionClasses properties
         if (chunk.getRetryableExceptionClasses() != null) {
-            PropertyResolverFactory.createRetryableExceptionClassesPropertyResolver(this.isPartitionedStep).substituteProperties(chunk.getRetryableExceptionClasses(), submittedProps, parentProps);
+            PropertyResolverFactory.createRetryableExceptionClassesPropertyResolver(this.isPartitionedStep).substituteProperties(chunk.getRetryableExceptionClasses(),
+                    submittedProps, parentProps);
         }
 
         // Resolve NoRollbackExceptionClasses properties
         if (chunk.getNoRollbackExceptionClasses() != null) {
-            PropertyResolverFactory.createNoRollbackExceptionClassesPropertyResolver(this.isPartitionedStep).substituteProperties(chunk.getNoRollbackExceptionClasses(), submittedProps, parentProps);
+            PropertyResolverFactory.createNoRollbackExceptionClassesPropertyResolver(this.isPartitionedStep).substituteProperties(chunk.getNoRollbackExceptionClasses(),
+                    submittedProps, parentProps);
         }
 
         //FIXME There are more properties to add in here for the rest of the chunk elements

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ExceptionClassesPropertyResolver.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ExceptionClassesPropertyResolver.java b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ExceptionClassesPropertyResolver.java
index 6b04572..8a482bd 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ExceptionClassesPropertyResolver.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/ExceptionClassesPropertyResolver.java
@@ -31,7 +31,7 @@ public class ExceptionClassesPropertyResolver extends AbstractPropertyResolver<E
     public ExceptionClassFilter substituteProperties(ExceptionClassFilter exceptionClassFilter,
                                                      Properties submittedProps, Properties parentProps) {
     
-		/*
+        /*
         <xs:complexType name="ExceptionClassFilter">
             <xs:sequence>
                 <xs:element name="include" minOccurs="0" maxOccurs="unbounded">
@@ -48,7 +48,7 @@ public class ExceptionClassesPropertyResolver extends AbstractPropertyResolver<E
                 </xs:element>
             </xs:sequence>
         </xs:complexType>
-		*/
+        */
 
         // Resolve ExceptionClassFilter properties
         if (exceptionClassFilter.getIncludeList() != null) {

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionMapperPropertyResolver.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionMapperPropertyResolver.java b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionMapperPropertyResolver.java
index 92a3120..7dd1709 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionMapperPropertyResolver.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionMapperPropertyResolver.java
@@ -32,14 +32,14 @@ public class PartitionMapperPropertyResolver extends
     public PartitionMapper substituteProperties(PartitionMapper partitionMapper,
                                                 Properties submittedProps, Properties parentProps) {
 
-		/*
-		<xs:complexType name="PartitionMapper">
-			<xs:sequence>
-				<xs:element name="properties" type="jsl:Properties" minOccurs="0" maxOccurs="1" />
-			</xs:sequence>
-			<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-		</xs:complexType>
-		*/
+        /*
+        <xs:complexType name="PartitionMapper">
+            <xs:sequence>
+                <xs:element name="properties" type="jsl:Properties" minOccurs="0" maxOccurs="1" />
+            </xs:sequence>
+            <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+        </xs:complexType>
+        */
 
         partitionMapper.setRef(this.replaceAllProperties(partitionMapper.getRef(), submittedProps, parentProps));
 

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionPlanPropertyResolver.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionPlanPropertyResolver.java b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionPlanPropertyResolver.java
index a09948b..ab667b7 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionPlanPropertyResolver.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/modelresolver/impl/PartitionPlanPropertyResolver.java
@@ -34,15 +34,15 @@ public class PartitionPlanPropertyResolver extends
     public PartitionPlan substituteProperties(PartitionPlan partitionPlan,
                                               Properties submittedProps, Properties parentProps) {
     
-		/*
+        /*
         <xs:complexType name="PartitionPlan">
-			<xs:sequence>
-				<xs:element name="properties" type="jsl:Properties" minOccurs="0" maxOccurs="unbounded" />
-			</xs:sequence>
-			<xs:attribute name="instances" use="optional" type="xs:string" />
-			<xs:attribute name="threads" use="optional" type="xs:string" />
-		</xs:complexType>
-		*/
+            <xs:sequence>
+                <xs:element name="properties" type="jsl:Properties" minOccurs="0" maxOccurs="unbounded" />
+            </xs:sequence>
+            <xs:attribute name="instances" use="optional" type="xs:string" />
+            <xs:attribute name="threads" use="optional" type="xs:string" />
+        </xs:complexType>
+        */
 
         partitionPlan.setPartitions(this.replaceAllProperties(partitionPlan.getPartitions(), submittedProps, parentProps));
         partitionPlan.setThreads(this.replaceAllProperties(partitionPlan.getThreads(), submittedProps, parentProps));

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/navigator/JobNavigator.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/navigator/JobNavigator.java b/jbatch/src/main/java/org/apache/batchee/container/navigator/JobNavigator.java
index 196db68..ccb9f19 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/navigator/JobNavigator.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/navigator/JobNavigator.java
@@ -50,4 +50,4 @@ public class JobNavigator extends AbstractNavigator<JSLJob> implements ModelNavi
     }
 }
 
-	
+

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/navigator/NavigatorFactory.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/navigator/NavigatorFactory.java b/jbatch/src/main/java/org/apache/batchee/container/navigator/NavigatorFactory.java
index 5137297..848ac4f 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/navigator/NavigatorFactory.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/navigator/NavigatorFactory.java
@@ -20,6 +20,10 @@ import org.apache.batchee.jaxb.Flow;
 import org.apache.batchee.jaxb.JSLJob;
 
 public class NavigatorFactory {
+    private NavigatorFactory() {
+        // private utility class ct
+    }
+
     public static JobNavigator createJobNavigator(JSLJob job) {
         return new JobNavigator(job);
     }

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/19114f5d/jbatch/src/main/java/org/apache/batchee/container/proxy/ListenerFactory.java
----------------------------------------------------------------------
diff --git a/jbatch/src/main/java/org/apache/batchee/container/proxy/ListenerFactory.java b/jbatch/src/main/java/org/apache/batchee/container/proxy/ListenerFactory.java
index a872c30..eb4e60a 100755
--- a/jbatch/src/main/java/org/apache/batchee/container/proxy/ListenerFactory.java
+++ b/jbatch/src/main/java/org/apache/batchee/container/proxy/ListenerFactory.java
@@ -70,7 +70,8 @@ public class ListenerFactory {
         jobLevelListenerInfo.addAll(globalListeners(factory, "org.apache.batchee.job.listeners.after", injectionRefs, execution));
     }
 
-    private static Collection<ListenerInfo> globalListeners(final BatchArtifactFactory factory, final String key, final InjectionReferences injectionRefs, final RuntimeJobExecution execution) {
+    private static Collection<ListenerInfo> globalListeners(final BatchArtifactFactory factory, final String key, final InjectionReferences injectionRefs,
+                                                            final RuntimeJobExecution execution) {
         final String globalListeners = ServicesManager.value(key, null);
         if (globalListeners != null) {
             final String[] refs = globalListeners.split(",");
@@ -93,7 +94,8 @@ public class ListenerFactory {
      * 
      * @JobListener, even if that is the only type of listener annotation found.
      */
-    private List<ListenerInfo> getStepListenerInfo(final BatchArtifactFactory factory, final Step step, final InjectionReferences injectionRefs, final RuntimeJobExecution execution) {
+    private List<ListenerInfo> getStepListenerInfo(final BatchArtifactFactory factory, final Step step, final InjectionReferences injectionRefs,
+                                                   final RuntimeJobExecution execution) {
         List<ListenerInfo> stepListenerInfoList = stepLevelListenerInfo.get(step.getId());
         if (stepListenerInfoList == null) {
             synchronized (this) {
@@ -118,7 +120,8 @@ public class ListenerFactory {
         return stepListenerInfoList;
     }
 
-    private static ListenerInfo buildListenerInfo(final BatchArtifactFactory factory, final Listener listener, final InjectionReferences injectionRefs, final RuntimeJobExecution execution) {
+    private static ListenerInfo buildListenerInfo(final BatchArtifactFactory factory, final Listener listener, final InjectionReferences injectionRefs,
+                                                  final RuntimeJobExecution execution) {
         final String id = listener.getRef();
         final List<Property> propList = (listener.getProperties() == null) ? null : listener.getProperties().getPropertyList();
 
@@ -141,7 +144,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<ChunkListenerProxy> getChunkListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<ChunkListenerProxy> getChunkListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                      final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<ChunkListenerProxy> retVal = new ArrayList<ChunkListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -155,7 +159,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<ItemProcessListenerProxy> getItemProcessListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<ItemProcessListenerProxy> getItemProcessListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                                  final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<ItemProcessListenerProxy> retVal = new ArrayList<ItemProcessListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -169,7 +174,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<ItemReadListenerProxy> getItemReadListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<ItemReadListenerProxy> getItemReadListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                            final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<ItemReadListenerProxy> retVal = new ArrayList<ItemReadListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -183,7 +189,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<ItemWriteListenerProxy> getItemWriteListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<ItemWriteListenerProxy> getItemWriteListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                              final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<ItemWriteListenerProxy> retVal = new ArrayList<ItemWriteListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -197,7 +204,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<RetryProcessListenerProxy> getRetryProcessListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<RetryProcessListenerProxy> getRetryProcessListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                                    final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<RetryProcessListenerProxy> retVal = new ArrayList<RetryProcessListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -211,7 +219,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<RetryReadListenerProxy> getRetryReadListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<RetryReadListenerProxy> getRetryReadListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                              final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<RetryReadListenerProxy> retVal = new ArrayList<RetryReadListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -225,7 +234,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<RetryWriteListenerProxy> getRetryWriteListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<RetryWriteListenerProxy> getRetryWriteListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                                final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<RetryWriteListenerProxy> retVal = new ArrayList<RetryWriteListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -239,7 +249,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<SkipProcessListenerProxy> getSkipProcessListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<SkipProcessListenerProxy> getSkipProcessListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                                  final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<SkipProcessListenerProxy> retVal = new ArrayList<SkipProcessListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -253,7 +264,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<SkipReadListenerProxy> getSkipReadListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<SkipReadListenerProxy> getSkipReadListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                            final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<SkipReadListenerProxy> retVal = new ArrayList<SkipReadListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -267,7 +279,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<SkipWriteListenerProxy> getSkipWriteListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<SkipWriteListenerProxy> getSkipWriteListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                              final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<SkipWriteListenerProxy> retVal = new ArrayList<SkipWriteListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {
@@ -281,7 +294,8 @@ public class ListenerFactory {
         return retVal;
     }
 
-    public List<StepListenerProxy> getStepListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext, final RuntimeJobExecution execution) {
+    public List<StepListenerProxy> getStepListeners(final Step step, final InjectionReferences injectionRefs, final StepContextImpl stepContext,
+                                                    final RuntimeJobExecution execution) {
         final List<ListenerInfo> stepListenerInfo = getStepListenerInfo(factory, step, injectionRefs, execution);
         final List<StepListenerProxy> retVal = new ArrayList<StepListenerProxy>();
         for (final ListenerInfo li : stepListenerInfo) {