summaryrefslogtreecommitdiff
path: root/java/nio/ShortViewBufferImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/nio/ShortViewBufferImpl.java')
-rw-r--r--java/nio/ShortViewBufferImpl.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/nio/ShortViewBufferImpl.java b/java/nio/ShortViewBufferImpl.java
index 3c7c77478..627085556 100644
--- a/java/nio/ShortViewBufferImpl.java
+++ b/java/nio/ShortViewBufferImpl.java
@@ -49,7 +49,8 @@ final class ShortViewBufferImpl extends ShortBuffer
ShortViewBufferImpl (ByteBuffer bb, int capacity)
{
super (capacity, capacity, 0, -1, bb.isDirect() ?
- VMDirectByteBuffer.adjustAddress(bb.address, bb.position()):null, null, 0);
+ VMDirectByteBuffer.adjustAddress(bb.address, bb.position()):null,
+ null, 0);
this.bb = bb;
this.offset = bb.position();
this.readOnly = bb.isReadOnly();
@@ -61,7 +62,8 @@ final class ShortViewBufferImpl extends ShortBuffer
boolean readOnly, ByteOrder endian)
{
super (capacity, limit, position, mark, bb.isDirect() ?
- VMDirectByteBuffer.adjustAddress(bb.address, offset):null, null, 0);
+ VMDirectByteBuffer.adjustAddress(bb.address, offset):null,
+ null, 0);
this.bb = bb;
this.offset = offset;
this.readOnly = readOnly;