summaryrefslogtreecommitdiff
path: root/java/nio/IntBuffer.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/nio/IntBuffer.java')
-rw-r--r--java/nio/IntBuffer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/nio/IntBuffer.java b/java/nio/IntBuffer.java
index 814e0414b..e1833367d 100644
--- a/java/nio/IntBuffer.java
+++ b/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);
}