IDEA-339548 Added @ApiStatus.Internal for new findBundle function, removed typo

GitOrigin-RevId: 3bc77ddf09ddcbbdc702a9f67ffde7e67d0c313a
This commit is contained in:
Vera Petrenkova
2023-12-21 11:43:02 +01:00
committed by intellij-monorepo-bot
parent bf720452f3
commit f38856bcf2
2 changed files with 1 additions and 1 deletions

View File

@@ -61,7 +61,6 @@ public class DynamicBundle extends AbstractBundle {
getBundleClassLoader(),
baseLoader,
loader -> {
getLocale();
return super.findBundle(pathToBundle, loader, control, getLocale());
}
);

View File

@@ -170,6 +170,7 @@ public class AbstractBundle {
return ResourceBundle.getBundle(pathToBundle, Locale.getDefault(), loader, control);
}
@ApiStatus.Internal
protected @NotNull ResourceBundle findBundle(@NotNull @NonNls String pathToBundle,
@NotNull ClassLoader loader,
@NotNull ResourceBundle.Control control,