mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
try to explain assertion about INFORMATION fixes in batch mode
This commit is contained in:
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user