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,8 +206,10 @@ public class AuditorImpl implements Auditor { ...@@ -206,8 +206,10 @@ public class AuditorImpl implements Auditor {
} }
} }
try { try {
if (xmlWriter != null) {
xmlWriter.flush(); xmlWriter.flush();
} }
}
catch (IOException ioe) { 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