aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-06-16 05:30:05 +0200
committerSven Gothel <[email protected]>2023-06-16 05:30:05 +0200
commitfdccf16290c7b742337d3f7ab66e4b85660ca781 (patch)
tree45ccbc6e498300cfb5cf2f4563d6ae9f584eab15
parent8b127c4c1dd26fcb1756805ddb83729203161f78 (diff)
Buffers.copyNativeToDirectByteBuffer(): Remove unused var
-rw-r--r--src/java/com/jogamp/common/nio/Buffers.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/nio/Buffers.java b/src/java/com/jogamp/common/nio/Buffers.java
index b22e41e..20fcc11 100644
--- a/src/java/com/jogamp/common/nio/Buffers.java
+++ b/src/java/com/jogamp/common/nio/Buffers.java
@@ -2068,7 +2068,6 @@ public class Buffers {
* @return newly created direct {@link ByteBuffer} holding the copied bytes
*/
public static ByteBuffer copyNativeToDirectByteBuffer(final long source_address, final long len) {
- final Method id;
if( Integer.MAX_VALUE < len ) {
throw new IllegalArgumentException("length "+len+" > MAX_INT");
}