mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
LAB-62 get rid of static *Bundle usages: more "bundle" fields with readable name
GitOrigin-RevId: 6c3695d146c1a01a904d3231903cf19ceb1f743c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
925b542280
commit
81be21f0e8
@@ -243,7 +243,7 @@ public final class VisibilityInspection extends GlobalJavaBatchInspectionTool {
|
||||
final String message;
|
||||
String quickFixName = "Make " + ElementDescriptionUtil.getElementDescription(element, UsageViewTypeLocation.INSTANCE) + " ";
|
||||
if (access.equals(PsiModifier.PRIVATE)) {
|
||||
message = getCAN_BE_PRIVATE();
|
||||
message = getCanBePrivate();
|
||||
quickFixName += VisibilityUtil.toPresentableText(PsiModifier.PRIVATE);
|
||||
}
|
||||
else {
|
||||
@@ -691,7 +691,7 @@ public final class VisibilityInspection extends GlobalJavaBatchInspectionTool {
|
||||
}
|
||||
}
|
||||
|
||||
private static String getCAN_BE_PRIVATE() {
|
||||
private static String getCanBePrivate() {
|
||||
return InspectionsBundle.message("inspection.visibility.compose.suggestion", VisibilityUtil.toPresentableText(PsiModifier.PRIVATE));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user