summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}