if (skip < offset) { skip++; continue; }  Document doc = indexReader.document(i);
Document doc = indexReader.document(i);
    private void list0(SearchResult result, IndexReader indexReader, int offset, int limit) throws IOException {        if (ZimbraLog.rmgmt.isDebugEnabled()) ZimbraLog.rmgmt.debug("listing offset=" + offset + " limit=" + limit + " " + this);        int num = indexReader.numDocs();    	int max = indexReader.maxDoc();    	    	int skip = 0;    	int listed = 0;    	    	for (int i = 0; i < max; i++) {    		if (indexReader.isDeleted(i)) {    			continue;    		}    		    		if (skip < offset) {    			skip++;    			continue;    		}    		    		Document doc = indexReader.document(i);            Map<QueueAttr,String> qitem = docToQueueItem(doc);            result.qitems.add(qitem);                        listed++;            if (listed >= limit) {            	break;            }    	}    }