]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Revert change breaking path retro-compatibility.
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 25 Mar 2013 16:23:34 +0000 (16:23 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 25 Mar 2013 16:23:34 +0000 (16:23 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@6214 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

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();