if (componentParameters.length < cid) { int[][] newParams = new int[cid][];
if (componentParameters.length <= cid) { int[][] newParams = new int[cid + 1][];
void initializeComponentParameters() {	int compCount = getNumberOfImageComponents();	componentParameters = new int[0][];	for (int i = 0; i < compCount; i++) {		int ofs = 5 + i * 2;		int cid = reference[ofs] & 0xFF;		int dc = (reference[ofs + 1] & 0xFF) / 16;		int ac = (reference[ofs + 1] & 0xFF) % 16;		if (componentParameters.length < cid) {			int[][] newParams = new int[cid][];			System.arraycopy(componentParameters, 0, newParams, 0, componentParameters.length);			componentParameters = newParams;		}		componentParameters[cid - 1] = new int[] { dc, ac };	}}