< prev index next >
src/java.desktop/macosx/classes/sun/java2d/IntegerNIORaster.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -32,11 +32,11 @@
public class IntegerNIORaster extends SunWritableRaster {
protected IntBuffer data;
- public static WritableRaster createNIORaster(int w, int h, int bandMasks[], Point location) {
+ public static WritableRaster createNIORaster(int w, int h, int[] bandMasks, Point location) {
if ((w <= 0) || (h <= 0)) {
throw new IllegalArgumentException("Width (" + w + ") and height (" + h +
") cannot be <= 0");
}
// This is cribbed from java.awt.image.Raster.
< prev index next >