mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
restore offline inspections results
This commit is contained in:
+1
-1
@@ -321,7 +321,7 @@ public class GlobalInspectionContextImpl extends UserDataHolderBase implements G
|
||||
new File(outputPath).mkdirs();
|
||||
final File file = new File(outputPath, toolName + ext);
|
||||
if (isLocalTool) {
|
||||
FileUtil.writeToFile(file, "</" + InspectionsBundle.message("inspection.problems") + ">");
|
||||
FileUtil.writeToFile(file, ("</" + InspectionsBundle.message("inspection.problems") + ">").getBytes("UTF-8"), true);
|
||||
}
|
||||
else {
|
||||
PathMacroManager.getInstance(getProject()).collapsePaths(doc.getRootElement());
|
||||
|
||||
Reference in New Issue
Block a user