mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-97492 (synchronized access to state storage macros)
This commit is contained in:
+1
-1
@@ -373,7 +373,7 @@ public abstract class StateStorageManagerImpl implements StateStorageManager, Di
|
||||
private static final Pattern MACRO_PATTERN = Pattern.compile("(\\$[^\\$]*\\$)");
|
||||
|
||||
@Nullable
|
||||
public String expandMacros(final String file) {
|
||||
public synchronized String expandMacros(final String file) {
|
||||
final Matcher matcher = MACRO_PATTERN.matcher(file);
|
||||
while (matcher.find()) {
|
||||
String m = matcher.group(1);
|
||||
|
||||
Reference in New Issue
Block a user