--- old/src/java.desktop/share/classes/java/awt/image/DataBufferInt.java 2018-10-01 09:59:26.886026000 +0700 +++ new/src/java.desktop/share/classes/java/awt/image/DataBufferInt.java 2018-10-01 09:59:26.402026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -59,10 +59,10 @@ public final class DataBufferInt extends DataBuffer { /** The default data bank. */ - int data[]; + int[] data; /** All data banks */ - int bankdata[][]; + int[][] bankdata; /** * Constructs an integer-based {@code DataBuffer} with a single bank @@ -108,7 +108,7 @@ * @param dataArray The integer array for the {@code DataBuffer}. * @param size The size of the {@code DataBuffer} bank. */ - public DataBufferInt(int dataArray[], int size) { + public DataBufferInt(int[] dataArray, int size) { super(UNTRACKABLE, TYPE_INT, size); data = dataArray; bankdata = new int[1][]; @@ -131,7 +131,7 @@ * @param size The size of the {@code DataBuffer} bank. * @param offset The offset into the {@code dataArray}. */ - public DataBufferInt(int dataArray[], int size, int offset) { + public DataBufferInt(int[] dataArray, int size, int offset) { super(UNTRACKABLE, TYPE_INT, size, 1, offset); data = dataArray; bankdata = new int[1][]; @@ -152,7 +152,7 @@ * @param dataArray The integer arrays for the {@code DataBuffer}. * @param size The size of the banks in the {@code DataBuffer}. */ - public DataBufferInt(int dataArray[][], int size) { + public DataBufferInt(int[][] dataArray, int size) { super(UNTRACKABLE, TYPE_INT, size, dataArray.length); bankdata = dataArray.clone(); data = bankdata[0]; @@ -177,7 +177,7 @@ * @param size The size of the banks in the {@code DataBuffer}. * @param offsets The offsets into each array. */ - public DataBufferInt(int dataArray[][], int size, int offsets[]) { + public DataBufferInt(int[][] dataArray, int size, int[] offsets) { super(UNTRACKABLE, TYPE_INT, size, dataArray.length, offsets); bankdata = dataArray.clone(); data = bankdata[0];