projects
/
cfb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't try to output HTML unless an output file is specified.
[cfb.git]
/
prod
/
net
/
jaekl
/
cfb
/
CFB.java
diff --git
a/prod/net/jaekl/cfb/CFB.java
b/prod/net/jaekl/cfb/CFB.java
index 33a1ca04b23312d3e19b05efbc8e8b5cfc2f1546..178dc2fe139b686a417b2d7c96fdb5a7088608a0 100644
(file)
--- a/
prod/net/jaekl/cfb/CFB.java
+++ b/
prod/net/jaekl/cfb/CFB.java
@@
-218,7
+218,9
@@
public class CFB {
Delta delta = new Delta(prior, analysis);
HtmlReport report = new HtmlReport(m_bundle, messageMap.getColl(), delta);
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);
Notifier notifier = new Notifier(m_bundle, m_config);
notifier.sendEmailIfNeeded(pw, report);