try to explain assertion about INFORMATION fixes in batch mode

This commit is contained in:
Anna.Kozlova
2018-07-02 17:15:28 +02:00
parent d98f2c7409
commit 862879f5e1
@@ -145,7 +145,9 @@ public class LocalInspectionsPass extends ProgressableTextEditorHighlightingPass
if (descriptor.getHighlightType() == ProblemHighlightType.INFORMATION) {
if (ourToolsWithInformationProblems.add(shortName)) {
LOG.error("Tool '" + shortName + "' registers INFORMATION level problem in batch mode on " + getFile() + ". " +
"INFORMATION level fixes could change semantics and should not be used in batch transformations");
"INFORMATION level 'warnings' are invisible in the editor and should not become visible in batch mode. " +
"Moreover, cause INFORMATION level fixes act more like intention actions, they could e.g. change semantics and " +
"thus should not be suggested for batch transformations");
}
continue;
}