]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.server/src/main/java/org/argeo/slc/ws/process/SlcExecutionStepsRequestEp.java
Improve formatting
[gpl/argeo-slc.git] / org.argeo.slc.server / src / main / java / org / argeo / slc / ws / process / SlcExecutionStepsRequestEp.java
index bb28343f581a11c5555a9ed53b020166652bc7b8..56532d4ca3e35daa03025659e73948879d0ea7ce 100644 (file)
@@ -36,18 +36,21 @@ public class SlcExecutionStepsRequestEp extends
                                throw new SlcException("Could not find slc execution " + uuid);
 
                        List<SlcExecutionStep> additionalSteps = msg.getSteps();
-                       if(log.isTraceEnabled()){
-                               log.trace("Trying to add additional steps to slc execution "+uuid+":");
-                               for(SlcExecutionStep step: additionalSteps){
-                                       log.trace("Step "+step.getUuid()+" (in slc execution "+uuid+")");
+                       if (log.isTraceEnabled()) {
+                               log.trace("Trying to add additional steps to slc execution "
+                                               + uuid + ":");
+                               for (SlcExecutionStep step : additionalSteps) {
+                                       log.trace("Step " + step.getUuid() + " (in slc execution "
+                                                       + uuid + ")");
                                }
                        }
                        slcExecution.getSteps().addAll(additionalSteps);
 
-                       slcExecutionDao.update(slcExecution);
-                       log.debug("Added " + msg.getSteps().size()
+                       log.debug("Adding " + msg.getSteps().size()
                                        + " steps to SlcExecution with uuid "
                                        + slcExecution.getUuid());
+
+                       slcExecutionDao.update(slcExecution);
                        return null;
                } catch (Exception e) {
                        log.error("Could not update SlcExecution " + uuid