JAL-3252 tgz unpacking no longer needed by getdown. Unfinished code and dependency...
[jalview.git] / getdown / src / getdown / core / src / main / java / com / threerings / getdown / util / FileUtil.java
index ec9d887..bba6c44 100644 (file)
@@ -6,10 +6,13 @@
 package com.threerings.getdown.util;
 
 import java.io.*;
+import java.nio.file.Files;
+import java.nio.file.Paths;
 import java.util.*;
 import java.util.jar.*;
 import java.util.zip.GZIPInputStream;
 
+import com.threerings.getdown.util.StreamUtil;
 import com.threerings.getdown.Log;
 import static com.threerings.getdown.Log.log;
 
@@ -156,7 +159,7 @@ public class FileUtil
             }
 
             try (BufferedOutputStream fout = new BufferedOutputStream(new FileOutputStream(efile));
-                 InputStream jin = jar.getInputStream(entry)) {
+                InputStream jin = jar.getInputStream(entry)) {
                 StreamUtil.copy(jin, fout);
             } catch (Exception e) {
                 throw new IOException(