Concurrency error in GT_LanguageManager.addStringLocalization
fixed by @codewarrior0
This commit is contained in:
parent
d39553eef0
commit
8cbb366360
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ public class GT_LanguageManager {
|
|||
return addStringLocalization(aKey, aEnglish, true);
|
||||
}
|
||||
|
||||
public static String addStringLocalization(String aKey, String aEnglish, boolean aWriteIntoLangFile) {
|
||||
public static synchronized String addStringLocalization(String aKey, String aEnglish, boolean aWriteIntoLangFile) {
|
||||
if (aKey == null) return E;
|
||||
if (aWriteIntoLangFile){ aEnglish = writeToLangFile(aKey, aEnglish);
|
||||
if(!LANGMAP.containsKey(aKey)){
|
||||
|
|
Loading…
Reference in a new issue