Delta delta = new Delta(prior, analysis);
HtmlReport report = new HtmlReport(m_bundle, messageMap.getColl(), delta);
- report.write(m_output);
+ if (null != m_output) {
+ report.write(m_output);
+ }
Notifier notifier = new Notifier(m_bundle, m_config);
notifier.sendEmailIfNeeded(pw, report);