summaryrefslogtreecommitdiff
path: root/java/nio/ByteBuffer.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-10-22 17:15:54 +0000
committerMichael Koch <konqueror@gmx.de>2004-10-22 17:15:54 +0000
commita215c6d8f9935cb005fead697821a6d64a45a515 (patch)
treeca5bb761917119b389ec1e46ec190f98b1341420 /java/nio/ByteBuffer.java
parent0ec7eb4fa96a9238d903ab3e6814416f295bf6b7 (diff)
downloadclasspath-a215c6d8f9935cb005fead697821a6d64a45a515.tar.gz
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
Diffstat (limited to 'java/nio/ByteBuffer.java')
-rw-r--r--java/nio/ByteBuffer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/nio/ByteBuffer.java b/java/nio/ByteBuffer.java
index e502e0031..4d3b1dc7d 100644
--- a/java/nio/ByteBuffer.java
+++ b/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);
}