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 fields
GitOrigin-RevId: 69ded152ad5996ae07c45dc4fd6ff20224d25572
This commit is contained in:
committed by
intellij-monorepo-bot
parent
240e2cea4c
commit
38f6f13df8
@@ -248,11 +248,11 @@ public final class VisibilityInspection extends GlobalJavaBatchInspectionTool {
|
||||
}
|
||||
else {
|
||||
if (access.equals(PsiModifier.PACKAGE_LOCAL)) {
|
||||
message = getCAN_BE_PACKAGE_LOCAL();
|
||||
message = getCanBePackageLocal();
|
||||
quickFixName += VisibilityUtil.toPresentableText(PsiModifier.PACKAGE_LOCAL);
|
||||
}
|
||||
else {
|
||||
message = getCAN_BE_PROTECTED();
|
||||
message = getCanBeProtected();
|
||||
quickFixName += VisibilityUtil.toPresentableText(PsiModifier.PROTECTED);
|
||||
}
|
||||
}
|
||||
@@ -695,11 +695,11 @@ public final class VisibilityInspection extends GlobalJavaBatchInspectionTool {
|
||||
return InspectionsBundle.message("inspection.visibility.compose.suggestion", VisibilityUtil.toPresentableText(PsiModifier.PRIVATE));
|
||||
}
|
||||
|
||||
private static String getCAN_BE_PACKAGE_LOCAL() {
|
||||
private static String getCanBePackageLocal() {
|
||||
return InspectionsBundle.message("inspection.visibility.compose.suggestion", VisibilityUtil.toPresentableText(PsiModifier.PACKAGE_LOCAL));
|
||||
}
|
||||
|
||||
private static String getCAN_BE_PROTECTED() {
|
||||
private static String getCanBeProtected() {
|
||||
return InspectionsBundle.message("inspection.visibility.compose.suggestion", VisibilityUtil.toPresentableText(PsiModifier.PROTECTED));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user