diff options
author | Sven Gothel <[email protected]> | 2023-05-04 00:48:15 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-05-04 00:48:15 +0200 |
commit | 69d22df0a6132dbf8b88fd04090c0bc81129237f (patch) | |
tree | 08e57ae187171b828b5b015042faa0e871afa271 /src/java/com/jogamp/common/util/JarUtil.java | |
parent | 6545ab42048dfda5f6cb72ce272a331078cd200e (diff) |
IOUtil.copyStream2{File|Stream)(..): Drop unused and misleading 'totalNumBytes' argument, since we have no user-feedback callback passed.
Diffstat (limited to 'src/java/com/jogamp/common/util/JarUtil.java')
-rw-r--r-- | src/java/com/jogamp/common/util/JarUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/JarUtil.java b/src/java/com/jogamp/common/util/JarUtil.java index aa5719c..d621e1c 100644 --- a/src/java/com/jogamp/common/util/JarUtil.java +++ b/src/java/com/jogamp/common/util/JarUtil.java @@ -628,7 +628,7 @@ public class JarUtil { final OutputStream out = new BufferedOutputStream(new FileOutputStream(destFile)); int numBytes = -1; try { - numBytes = IOUtil.copyStream2Stream(BUFFER_SIZE, in, out, -1); + numBytes = IOUtil.copyStream2Stream(BUFFER_SIZE, in, out); } finally { in.close(); out.close(); |