mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix message
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ public class DependencyInspection extends BaseLocalInspectionTool {
|
||||
final DependencyRule[] rule = validationManager.getViolatorDependencyRules(file, dependencyFile);
|
||||
for (DependencyRule dependencyRule : rule) {
|
||||
StringBuffer message = new StringBuffer();
|
||||
message.append(MessageFormat.format(InspectionsBundle.message("inspection.dependency.violator.problem.descriptor"), dependencyRule.getDisplayText()));
|
||||
message.append(InspectionsBundle.message("inspection.dependency.violator.problem.descriptor", dependencyRule.getDisplayText()));
|
||||
problems.add(manager.createProblemDescriptor(place, message.toString(), isOnTheFly, new LocalQuickFix[]{new EditDependencyRulesAction(dependencyRule)}, ProblemHighlightType.GENERIC_ERROR_OR_WARNING));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user