aboutsummaryrefslogtreecommitdiffstats
path: root/src/junit/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/junit/com')
-rw-r--r--src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java2
-rw-r--r--src/junit/com/jogamp/junit/util/MiscUtils.java2
2 files changed, 2 insertions, 2 deletions
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;
diff --git a/src/junit/com/jogamp/junit/util/MiscUtils.java b/src/junit/com/jogamp/junit/util/MiscUtils.java
index 3576fed..03d4d13 100644
--- a/src/junit/com/jogamp/junit/util/MiscUtils.java
+++ b/src/junit/com/jogamp/junit/util/MiscUtils.java
@@ -103,7 +103,7 @@ public class MiscUtils {
}
final InputStream in = new BufferedInputStream(new FileInputStream(src));
try {
- stats.totalBytes += IOUtil.copyStream2File(in, dest, 0);
+ stats.totalBytes += IOUtil.copyStream2File(in, dest);
} finally {
in.close();
}