summaryrefslogtreecommitdiff
path: root/java/nio/CharViewBufferImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/nio/CharViewBufferImpl.java')
-rw-r--r--java/nio/CharViewBufferImpl.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/nio/CharViewBufferImpl.java b/java/nio/CharViewBufferImpl.java
index bb562de62..98a27a6e6 100644
--- a/java/nio/CharViewBufferImpl.java
+++ b/java/nio/CharViewBufferImpl.java
@@ -49,7 +49,8 @@ class CharViewBufferImpl extends CharBuffer
CharViewBufferImpl (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 @@ class CharViewBufferImpl extends CharBuffer
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;