use flush() instead of close()

This commit is contained in:
Dmitry Batkovich
2018-10-11 13:51:43 +03:00
parent 242c3ed916
commit e7aefd92f1
@@ -274,7 +274,7 @@ public class DefaultInspectionToolPresentation implements InspectionToolPresenta
xmlWriter.writeStartElement(GlobalInspectionContextBase.PROBLEMS_TAG_NAME);
xmlWriter.writeAttribute(GlobalInspectionContextBase.LOCAL_TOOL_ATTRIBUTE, Boolean.toString(myToolWrapper instanceof LocalInspectionToolWrapper));
xmlWriter.writeCharacters("\n");
xmlWriter.close();
xmlWriter.flush();
}
exportResults(descriptions, refElement, p -> {