mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
as getMainBinding is invoked directly now, it must be synchronized (quick fix)
This commit is contained in:
@@ -113,7 +113,7 @@ public class XmlSerializerImpl {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
static Binding getMainBinding(@NotNull Class<?> aClass, @NotNull Type originalType, @Nullable MutableAccessor accessor) {
|
||||
synchronized static Binding getMainBinding(@NotNull Class<?> aClass, @NotNull Type originalType, @Nullable MutableAccessor accessor) {
|
||||
Pair<Type, MutableAccessor> key = Pair.create(originalType, accessor);
|
||||
Map<Pair<Type, MutableAccessor>, Binding> map = getBindingCacheMap();
|
||||
Binding binding = map.get(key);
|
||||
|
||||
Reference in New Issue
Block a user