Commit 903587d7 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Fixed NPE.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@621 b35dd754-fafc-0310-a699-88a17e54d16e
parent 0e6264f8
......@@ -206,7 +206,9 @@ public class AuditorImpl implements Auditor {
}
}
try {
xmlWriter.flush();
if (xmlWriter != null) {
xmlWriter.flush();
}
}
catch (IOException ioe) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment