summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/nio/ShortViewBufferImpl.java
diff options
context:
space:
mode:
authorMatthias Klose <doko@gcc.gnu.org>2008-10-22 18:19:29 +0000
committerMatthias Klose <doko@gcc.gnu.org>2008-10-22 18:19:29 +0000
commit58ddc179d494fd426aca184a1a5749d9fa6f81b9 (patch)
tree577596282d00bf61e1bf433dc5d7aa0a417f5c5c /libjava/classpath/java/nio/ShortViewBufferImpl.java
parent51c869cac9a2b641ee21172ea193eadef9b1f476 (diff)
downloadgcc-58ddc179d494fd426aca184a1a5749d9fa6f81b9.tar.gz
Import GNU Classpath (libgcj-import-20081021).
2008-10-22 Matthias Klose <doko@ubuntu.com> Import GNU Classpath (libgcj-import-20081021). * Regenerate class and header files. * Regenerate auto* files. From-SVN: r141302
Diffstat (limited to 'libjava/classpath/java/nio/ShortViewBufferImpl.java')
-rw-r--r--libjava/classpath/java/nio/ShortViewBufferImpl.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/libjava/classpath/java/nio/ShortViewBufferImpl.java b/libjava/classpath/java/nio/ShortViewBufferImpl.java
index 3c7c7747802..627085556f6 100644
--- a/libjava/classpath/java/nio/ShortViewBufferImpl.java
+++ b/libjava/classpath/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;