You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2021/01/03 11:07:48 UTC

[incubator-hop] branch master updated: HOP-2393 Exporting to SVG should overwrite the file if it exists

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 783b506  HOP-2393 Exporting to SVG should overwrite the file if it exists
     new 865d169  Merge pull request #530 from nadment/HOP-2393
783b506 is described below

commit 783b5065a3ada6a610fc564762239f4e702cfda3
Author: nadment <na...@gmail.com>
AuthorDate: Sun Jan 3 11:41:16 2021 +0100

    HOP-2393 Exporting to SVG should overwrite the file if it exists
---
 .../java/org/apache/hop/ui/hopgui/delegates/HopGuiFileDelegate.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/main/java/org/apache/hop/ui/hopgui/delegates/HopGuiFileDelegate.java b/ui/src/main/java/org/apache/hop/ui/hopgui/delegates/HopGuiFileDelegate.java
index c75b637..f1f9164 100644
--- a/ui/src/main/java/org/apache/hop/ui/hopgui/delegates/HopGuiFileDelegate.java
+++ b/ui/src/main/java/org/apache/hop/ui/hopgui/delegates/HopGuiFileDelegate.java
@@ -332,7 +332,7 @@ public class HopGuiFileDelegate {
           }
           OutputStream outputStream = null;
           try {
-            outputStream = HopVfs.getOutputStream(file, true);
+            outputStream = HopVfs.getOutputStream(file, false);
             outputStream.write(svgXml.getBytes(Const.XML_ENCODING));
           } finally {
             if (outputStream != null) {