for (int i = 0, j, k; i < nPolys; i++) {
for (int i = 0; i < nPolys; i++) {
    public void addOMGraphics(OMGraphicList list,                              DrawingAttributes drawingAttributes) {        int nPolys = polygons.length;        if (nPolys <= 0)            return;        OMPoly p = null;        float[] pts;        boolean ispolyg = isPolygon();        /*         * modifications in the next 4 lines marked with as: allow to         * treat ESRIPolygonRecord with holes correctly (ESRIPolys         * with counterclockwise order of vertices)         */        OMGraphicList sublist = null;        if (nPolys > 1) {            // Only want the OMAreaList if the shape type is for            // polygons            if (false && ispolyg) {                // There's a problem here with OMPolys that wrap                // around the earth, putting them in OMAreaLists makes                // them draw lines through the map. Need to sort that                // out before enabling this code by removing 'false'                // in if statement.                sublist = new OMAreaList();                ((OMAreaList) sublist).setConnectParts(false);            } else {                sublist = new OMGraphicList();            }            if (drawingAttributes != null) {                drawingAttributes.setTo(sublist);            }            sublist.setVague(true); // Treat list as one object.            list.add(sublist);            sublist.setAppObject(new Integer(getRecordNumber()));        }        for (int i = 0, j, k; i < nPolys; i++) {            // these points are already in RADIAN lat,lon order!...            pts = ((ESRIPoly.ESRIFloatPoly) polygons[i]).getRadians();            int len = pts.length;            p = new OMPoly(pts, OMGraphic.RADIANS, OMGraphic.LINETYPE_STRAIGHT);            drawingAttributes.setTo(p);            if (!ispolyg) {                p.setIsPolygon(false);            }            if (sublist != null) {                sublist.add(p);            } else {                // There should be only one.                p.setAppObject(new Integer(getRecordNumber()));                list.add(p);            }        }    }