Skip to content

Commit

Permalink
Avoid sys.out
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed Jun 18, 2012
1 parent 57aa018 commit 828b07b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ public WorkflowBundle readBundle(File bundleFile, String mediaType)

protected void preserveOriginal(WorkflowBundle bundle, InputStream t2flowStream) throws IOException {
String path = "history/" + bundleUUID(bundle) + ".t2flow";
bundle.getResources().addResource(t2flowStream, path, APPLICATION_VND_TAVERNA_T2FLOW_XML);
System.out.println("Added " + path);
System.out.println(bundle.getResources().listAllResources());
bundle.getResources().addResource(t2flowStream, path, APPLICATION_VND_TAVERNA_T2FLOW_XML);
// TODO: Add annotation recording the provenance of this history file
// PropertyResource original = new PropertyResource();
// original.setTypeURI(ENTITY);
Expand Down

0 comments on commit 828b07b

Please sign in to comment.