logger.debug("Creating static interval EventProbabilityInterval");
if (logger.isDebugEnabled()) logger.debug("Creating static interval EventProbabilityInterval");
    protected static EventProbability parseEventLikelihood(Element element, Hashtable map) {                EventProbability ep = null;        String prob  = element.getAttribute("probability");        String probInterval = element.getAttribute("probIntervalInMins"); //string                if (prob == null || prob.length() == 0 || probInterval == null || probInterval.length() == 0) {            logger.error("probability OR probIntervalInMins was missing or empty in ClockInterval element. Returning null EventProbabilityInterval.");            return null;        }        //Map probability String to a float.        float fProb = 0;        if (map != null) {            Float f = (Float) map.get(prob);            if (f != null) {                fProb = f.floatValue();            } else {                logger.warn("Could not find probability map entry for "+fProb+". Setting value to 0.");            }        }                 int probInt = 0;        try {            probInt = Integer.parseInt(probInterval);        } catch (Exception e) {            logger.error("ThreatVulnerabilityLoader -- exception parsing default probability interval: "+probInterval+", Ignoring.", e);            return null;                        }        ep = new EventProbability();        logger.debug("Creating static interval EventProbabilityInterval");                    EventProbabilityInterval pi = new EventProbabilityInterval( fProb, probInt );        ep.addInterval(pi);                return ep;                    }