diff options
author | Sven Gothel <[email protected]> | 2023-06-16 05:30:05 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-06-16 05:30:05 +0200 |
commit | fdccf16290c7b742337d3f7ab66e4b85660ca781 (patch) | |
tree | 45ccbc6e498300cfb5cf2f4563d6ae9f584eab15 /src/java/com | |
parent | 8b127c4c1dd26fcb1756805ddb83729203161f78 (diff) |
Buffers.copyNativeToDirectByteBuffer(): Remove unused var
Diffstat (limited to 'src/java/com')
-rw-r--r-- | src/java/com/jogamp/common/nio/Buffers.java | 1 |
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"); } |