]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.utils/src/org/simantics/utils/FileUtils.java
Platform startup performance improvements
[simantics/platform.git] / bundles / org.simantics.utils / src / org / simantics / utils / FileUtils.java
index 3e54e19be56be912f4314f41e6a0ae42125f13a4..6ae209c9ac0cc8c9d0ffaa962d7f11768f693846 100644 (file)
@@ -828,9 +828,9 @@ public class FileUtils {
        }
     }
 
-    private static void copy(File file, ZipOutputStream zout) throws IOException {
+    public static void copy(File file, OutputStream out) throws IOException {
        try (InputStream in = new FileInputStream(file)) {
-               copy(in, zout);
+               copy(in, out);
        }
     }