]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/DefaultExecutionFlowDescriptorConverter.java
Revert change breaking path retro-compatibility.
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / execution / DefaultExecutionFlowDescriptorConverter.java
index cec087f9d8f017c70d52cb3d4c109b80177f6b83..d7670789e056664442566b1c74af2ebb5e0c48db 100644 (file)
@@ -163,6 +163,7 @@ public class DefaultExecutionFlowDescriptorConverter implements
                md.getExecutionFlows().addAll(set);
        }
 
+       @SuppressWarnings("deprecation")
        public ExecutionFlowDescriptor getExecutionFlowDescriptor(
                        ExecutionFlow executionFlow) {
                if (executionFlow.getName() == null)
@@ -212,10 +213,10 @@ public class DefaultExecutionFlowDescriptorConverter implements
 
                ExecutionFlowDescriptor efd = new ExecutionFlowDescriptor(name, null,
                                values, executionSpec);
-               // if (executionFlow.getPath() != null)
-               // efd.setPath(executionFlow.getPath());
-               // else
-               // efd.setPath("");
+               if (executionFlow.getPath() != null)
+                       efd.setPath(executionFlow.getPath());
+               else
+                       efd.setPath("");
 
                // Takes description from spring
                BeanFactory bf = getBeanFactory();