mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
IJPL-148265 Add volatile annotation to isL10nPluginInitialized variable in LocalizationUtil
GitOrigin-RevId: 7cd46fa6374da3066d96abf557c31ad173978b82
This commit is contained in:
committed by
intellij-monorepo-bot
parent
87387f8e24
commit
073cee84c0
@@ -15,6 +15,7 @@ import kotlin.io.path.pathString
|
||||
|
||||
@ApiStatus.Internal
|
||||
object LocalizationUtil {
|
||||
@Volatile
|
||||
var isL10nPluginInitialized: Boolean = false
|
||||
private const val LOCALIZATION_FOLDER_NAME = "localization"
|
||||
fun getPluginClassLoader(): ClassLoader? = DynamicBundle.findLanguageBundle()?.pluginDescriptor?.pluginClassLoader
|
||||
|
||||
Reference in New Issue
Block a user