From 69d22df0a6132dbf8b88fd04090c0bc81129237f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 4 May 2023 00:48:15 +0200 Subject: IOUtil.copyStream2{File|Stream)(..): Drop unused and misleading 'totalNumBytes' argument, since we have no user-feedback callback passed. --- src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java') diff --git a/src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java b/src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java index 90a954b..bbe815d 100644 --- a/src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java +++ b/src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java @@ -265,7 +265,7 @@ public class TestByteBufferInputStream extends SingletonJunitCase { final long t1 = System.currentTimeMillis(); final File out = new File(fileOut); - IOUtil.copyStream2File(bis, out, -1); + IOUtil.copyStream2File(bis, out); final long t2 = System.currentTimeMillis(); final String suffix; -- cgit v1.2.3