Skip to content

Commit

Permalink
formatting and javadoc improved
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Sep 4, 2012
1 parent c847e14 commit 2a36290
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -37,10 +37,11 @@ public class WorkflowBuilder {
/**
* Build workflow from an input stream containing a workflow definition as XML
* @param stream Input stream containing workflow as XML
* @param targetEnnvironment Target environment of Yanel, which is applied/used to filter elements of workflow definition
*/
public Workflow buildWorkflow(InputStream stream, String targetEnvironment) throws WorkflowException {
try {
stream = ConfigurationUtil.filterEnvironment(stream, targetEnvironment);
stream = ConfigurationUtil.filterEnvironment(stream, targetEnvironment);
Document document = org.wyona.commons.xml.XMLHelper.readDocument(stream);
Workflow workflow = buildWorkflow(document);
return workflow;
Expand Down

0 comments on commit 2a36290

Please sign in to comment.