if ((dxfColorCode > 0) && (dxfColorCode <= (rgbs.length - 1))) {
if ((dxfColorCode > 0) && ((dxfColorCode-1) <= (rgbs.length - 1))) {
    public static String getRGBString(int dxfColorCode) {        if ((dxfColorCode > 0) && (dxfColorCode <= (rgbs.length - 1))) {            // the StringBuffer is faster then the String concat            StringBuffer buf = new StringBuffer();            buf.append(rgbs[dxfColorCode - 1][0]);            buf.append(",");            buf.append(rgbs[dxfColorCode - 1][1]);            buf.append(",");            buf.append(rgbs[dxfColorCode - 1][2]);            return buf.toString();        }        // default is black        return DEFAULT_COLOR;    }