seriesName="Subsribers";
seriesName="Subscribers";
    public Object produceDataset(Map params) throws NullPointerException,            DatasetProduceException {        String seriesName;        if (((Integer) map.get("channel_id")) == null) {            throw new NullPointerException("channel_id not set!");        }        if (((Integer) map.get("numberWeeks")) == null) {            throw new NullPointerException("numberWeeks not set!");        }        if (((String) map.get("seriesName")) != null) {        seriesName = (String)map.get("seriesName");        }        else {             seriesName="Subsribers";        }                log.debug("ID: " + map.get("channel_id") + " WEEKS:"                + map.get("numberWeeks"));        return createDataset(((Integer) map.get("channel_id")).intValue(),                ((Integer) map.get("numberWeeks")).intValue(), seriesName);    }