2004-10-22 Michael Koch <konqueror@gmx.de>
* java/lang/Math.java * java/lang/StackTraceElement.java * java/nio/Buffer.java * java/nio/ByteBuffer.java * java/nio/CharBuffer.java * java/nio/DoubleBuffer.java * java/nio/FloatBuffer.java * java/nio/IntBuffer.java * java/nio/LongBuffer.java * java/nio/ShortBuffer.java * java/nio/charset/Charset.java * java/rmi/server/RMIClassLoader.java * java/rmi/server/RMISocketFactory.java * java/security/Policy.java * java/text/ChoiceFormat.java * java/text/CollationElementIterator.java * java/text/DateFormat.java * java/text/DecimalFormat.java * java/text/DecimalFormatSymbols.java * java/text/MessageFormat.java * java/text/NumberFormat.java * java/text/RuleBasedCollator.java * java/text/SimpleDateFormat.java * java/util/BitSet.java * java/util/Calendar.java * java/util/Collections.java * java/util/IdentityHashMap.java * java/util/Locale.java * java/util/TreeMap.java * java/util/logging/LogRecord.java * java/util/logging/XMLFormatter.java * java/util/prefs/AbstractPreferences.java * java/util/prefs/Preferences.java * javax/crypto/interfaces/DHPrivateKey.java * javax/crypto/interfaces/DHPublicKey.java * javax/crypto/interfaces/PBEKey.java * javax/net/ssl/HandshakeCompletedEvent.java * javax/security/auth/Subject.java From-SVN: r89454
This commit is contained in:
parent
471854f82a
commit
0460023ee2
39 changed files with 201 additions and 180 deletions
|
@ -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) ||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue