Skip to content

Commit

Permalink
Remove redundant metadata synchronization (#1424) (#1426)
Browse files Browse the repository at this point in the history
  • Loading branch information
troshko111 authored Sep 27, 2021
1 parent 62fb60e commit 4d36f04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ public InstanceInfo deserialize(JsonParser jp, DeserializationContext context) t
metadataMap.put(key, value);
}
};
builder.setMetadata(metadataMap == null ? Collections.emptyMap() : Collections.synchronizedMap(metadataMap));
builder.setMetadata(metadataMap == null ? Collections.emptyMap() : metadataMap);
break;
default:
autoUnmarshalEligible(jp.getCurrentName(), jp.getValueAsString(), builder.getRawInstance());
Expand Down

0 comments on commit 4d36f04

Please sign in to comment.