} else { // both are null
oobFactor = null;
}
if (oobFactor != null) {
MeasurementOOB oob = new MeasurementOOB();
oob.setScheduleId(metric.getScheduleId());
oob.setTimestamp(metric.getTimestamp());
oob.setOobFactor(oobFactor);
if (log.isDebugEnabled()) {
log.debug("Generated OOB " + oob + " for 1 hr metric " + metric + " with baseline " + baseline);
}