diff options
Diffstat (limited to 'libjava/java/nio')
-rw-r--r-- | libjava/java/nio/Buffer.java | 4 | ||||
-rw-r--r-- | libjava/java/nio/ByteBuffer.java | 4 | ||||
-rw-r--r-- | libjava/java/nio/CharBuffer.java | 8 | ||||
-rw-r--r-- | libjava/java/nio/DoubleBuffer.java | 4 | ||||
-rw-r--r-- | libjava/java/nio/FloatBuffer.java | 4 | ||||
-rw-r--r-- | libjava/java/nio/IntBuffer.java | 4 | ||||
-rw-r--r-- | libjava/java/nio/LongBuffer.java | 4 | ||||
-rw-r--r-- | libjava/java/nio/ShortBuffer.java | 4 | ||||
-rw-r--r-- | libjava/java/nio/charset/Charset.java | 4 |
9 files changed, 20 insertions, 20 deletions
diff --git a/libjava/java/nio/Buffer.java b/libjava/java/nio/Buffer.java index e7173852be2..f86829bf362 100644 --- a/libjava/java/nio/Buffer.java +++ b/libjava/java/nio/Buffer.java @@ -1,5 +1,5 @@ /* Buffer.java -- - Copyright (C) 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -345,7 +345,7 @@ public abstract class Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final static void checkArraySize(int arraylength, int offset, int length) + static final void checkArraySize(int arraylength, int offset, int length) { if ((offset < 0) || (length < 0) || diff --git a/libjava/java/nio/ByteBuffer.java b/libjava/java/nio/ByteBuffer.java index e502e003199..4d3b1dc7d73 100644 --- a/libjava/java/nio/ByteBuffer.java +++ b/libjava/java/nio/ByteBuffer.java @@ -77,7 +77,7 @@ public abstract class ByteBuffer extends Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final public static ByteBuffer wrap (byte[] array, int offset, int length) + public static final ByteBuffer wrap (byte[] array, int offset, int length) { // FIXME: In GCJ and other implementations where arrays may not // move we might consider, at least when offset==0: @@ -94,7 +94,7 @@ public abstract class ByteBuffer extends Buffer * Wraps a <code>byte</code> array into a <code>ByteBuffer</code> * object. */ - final public static ByteBuffer wrap (byte[] array) + public static final ByteBuffer wrap (byte[] array) { return wrap (array, 0, array.length); } diff --git a/libjava/java/nio/CharBuffer.java b/libjava/java/nio/CharBuffer.java index 700c56750f3..096b736ca49 100644 --- a/libjava/java/nio/CharBuffer.java +++ b/libjava/java/nio/CharBuffer.java @@ -74,7 +74,7 @@ public abstract class CharBuffer extends Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final public static CharBuffer wrap(char[] array, int offset, int length) + public static final CharBuffer wrap(char[] array, int offset, int length) { return new CharBufferImpl(array, 0, array.length, offset + length, offset, -1, false); } @@ -86,7 +86,7 @@ public abstract class CharBuffer extends Buffer * * @return a new <code>CharBuffer</code> object */ - final public static CharBuffer wrap(CharSequence seq) + public static final CharBuffer wrap(CharSequence seq) { return wrap(seq, 0, seq.length()); } @@ -103,7 +103,7 @@ public abstract class CharBuffer extends Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final public static CharBuffer wrap(CharSequence seq, int start, int end) + public static final CharBuffer wrap(CharSequence seq, int start, int end) { // FIXME: implement better handling of java.lang.String. // Probably share data with String via reflection. @@ -131,7 +131,7 @@ public abstract class CharBuffer extends Buffer * * @return a new <code>CharBuffer</code> object */ - final public static CharBuffer wrap(char[] array) + public static final CharBuffer wrap(char[] array) { return wrap(array, 0, array.length); } diff --git a/libjava/java/nio/DoubleBuffer.java b/libjava/java/nio/DoubleBuffer.java index dd16ee04962..70010508e89 100644 --- a/libjava/java/nio/DoubleBuffer.java +++ b/libjava/java/nio/DoubleBuffer.java @@ -68,7 +68,7 @@ public abstract class DoubleBuffer extends Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final public static DoubleBuffer wrap (double[] array, int offset, int length) + public static final DoubleBuffer wrap (double[] array, int offset, int length) { return new DoubleBufferImpl (array, 0, array.length, offset + length, offset, -1, false); } @@ -77,7 +77,7 @@ public abstract class DoubleBuffer extends Buffer * Wraps a <code>double</code> array into a <code>DoubleBuffer</code> * object. */ - final public static DoubleBuffer wrap (double[] array) + public static final DoubleBuffer wrap (double[] array) { return wrap (array, 0, array.length); } diff --git a/libjava/java/nio/FloatBuffer.java b/libjava/java/nio/FloatBuffer.java index 2ead8cbc494..6ff80f1bfaa 100644 --- a/libjava/java/nio/FloatBuffer.java +++ b/libjava/java/nio/FloatBuffer.java @@ -68,7 +68,7 @@ public abstract class FloatBuffer extends Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final public static FloatBuffer wrap (float[] array, int offset, int length) + public static final FloatBuffer wrap (float[] array, int offset, int length) { return new FloatBufferImpl (array, 0, array.length, offset + length, offset, -1, false); } @@ -77,7 +77,7 @@ public abstract class FloatBuffer extends Buffer * Wraps a <code>float</code> array into a <code>FloatBuffer</code> * object. */ - final public static FloatBuffer wrap (float[] array) + public static final FloatBuffer wrap (float[] array) { return wrap (array, 0, array.length); } diff --git a/libjava/java/nio/IntBuffer.java b/libjava/java/nio/IntBuffer.java index 814e0414bc6..e1833367d5d 100644 --- a/libjava/java/nio/IntBuffer.java +++ b/libjava/java/nio/IntBuffer.java @@ -68,7 +68,7 @@ public abstract class IntBuffer extends Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final public static IntBuffer wrap (int[] array, int offset, int length) + public static final IntBuffer wrap (int[] array, int offset, int length) { return new IntBufferImpl (array, 0, array.length, offset + length, offset, -1, false); } @@ -77,7 +77,7 @@ public abstract class IntBuffer extends Buffer * Wraps a <code>int</code> array into a <code>IntBuffer</code> * object. */ - final public static IntBuffer wrap (int[] array) + public static final IntBuffer wrap (int[] array) { return wrap (array, 0, array.length); } diff --git a/libjava/java/nio/LongBuffer.java b/libjava/java/nio/LongBuffer.java index 6e9ef34e8eb..6f393d1629d 100644 --- a/libjava/java/nio/LongBuffer.java +++ b/libjava/java/nio/LongBuffer.java @@ -68,7 +68,7 @@ public abstract class LongBuffer extends Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final public static LongBuffer wrap (long[] array, int offset, int length) + public static final LongBuffer wrap (long[] array, int offset, int length) { return new LongBufferImpl (array, 0, array.length, offset + length, offset, -1, false); } @@ -77,7 +77,7 @@ public abstract class LongBuffer extends Buffer * Wraps a <code>long</code> array into a <code>LongBuffer</code> * object. */ - final public static LongBuffer wrap (long[] array) + public static final LongBuffer wrap (long[] array) { return wrap (array, 0, array.length); } diff --git a/libjava/java/nio/ShortBuffer.java b/libjava/java/nio/ShortBuffer.java index db03076b629..7b34d70ed82 100644 --- a/libjava/java/nio/ShortBuffer.java +++ b/libjava/java/nio/ShortBuffer.java @@ -68,7 +68,7 @@ public abstract class ShortBuffer extends Buffer * @exception IndexOutOfBoundsException If the preconditions on the offset * and length parameters do not hold */ - final public static ShortBuffer wrap (short[] array, int offset, int length) + public static final ShortBuffer wrap (short[] array, int offset, int length) { return new ShortBufferImpl (array, 0, array.length, offset + length, offset, -1, false); } @@ -77,7 +77,7 @@ public abstract class ShortBuffer extends Buffer * Wraps a <code>short</code> array into a <code>ShortBuffer</code> * object. */ - final public static ShortBuffer wrap (short[] array) + public static final ShortBuffer wrap (short[] array) { return wrap (array, 0, array.length); } diff --git a/libjava/java/nio/charset/Charset.java b/libjava/java/nio/charset/Charset.java index ad570409a04..5bb78f63ca9 100644 --- a/libjava/java/nio/charset/Charset.java +++ b/libjava/java/nio/charset/Charset.java @@ -1,5 +1,5 @@ /* Charset.java -- - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -158,7 +158,7 @@ public abstract class Charset implements Comparable // XXX: we need to support multiple providers, reading them from // java.nio.charset.spi.CharsetProvider in the resource directory // META-INF/services - private static final CharsetProvider provider () + private static CharsetProvider provider () { return Provider.provider (); } |