Iterator i = logDAO.getAllLogSubscribers(channel_id).iterator();
Iterator i = logDAO.getLogSubscribers(channel_id).iterator();
    private CategoryDataset createDataset(int channel_id, int numberWeeks, String seriesName) {        log.debug("ID " + channel_id);        log.debug("weeks " + numberWeeks);        Iterator i = logDAO.getAllLogSubscribers(channel_id).iterator();        DefaultCategoryDataset dataset = new DefaultCategoryDataset();        LogSubscribersIF logSubscriber;        Calendar cal = new GregorianCalendar();        int max = 0;        while (i.hasNext() && (max < numberWeeks)) {            logSubscriber = (LogSubscribersIF) i.next();            cal.setTime(logSubscriber.getDate());            log.debug("Tick: " + cal.get(Calendar.WEEK_OF_YEAR) + "/"                    + cal.get(Calendar.YEAR));            dataset.addValue(logSubscriber.getNum_subscribers(), seriesName,                    cal.get(Calendar.WEEK_OF_YEAR) + "/"                            + cal.get(Calendar.YEAR));            max++;        }        return dataset;    }