diff options
Diffstat (limited to 'sdc-workflow-designer-server/src')
-rw-r--r-- | sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/converter/Bpmn4Tosca2Bpmn.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/converter/Bpmn4Tosca2Bpmn.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/converter/Bpmn4Tosca2Bpmn.java index 7721eaa7..efa36c3f 100644 --- a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/converter/Bpmn4Tosca2Bpmn.java +++ b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/converter/Bpmn4Tosca2Bpmn.java @@ -54,7 +54,7 @@ public class Bpmn4Tosca2Bpmn { }
public static Path writeStringToFile(String content, Path targetPath) throws IOException {
- return Files.write(targetPath, content.getBytes(), StandardOpenOption.CREATE_NEW);
+ return Files.write(targetPath, content.getBytes(), StandardOpenOption.CREATE);
}
}
|