Skip to content

Commit

Permalink
CLDR-17014 Make ExtraPaths.getInstance synchronized (#4317)
Browse files Browse the repository at this point in the history
  • Loading branch information
btangmu authored Jan 31, 2025
1 parent fd743e5 commit ef324bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ExtraPaths {

private static final Map<NameType, ExtraPaths> instances = new HashMap<>();

public static ExtraPaths getInstance(NameType nameType) {
public static synchronized ExtraPaths getInstance(NameType nameType) {
return instances.computeIfAbsent(nameType, ExtraPaths::new);
}

Expand Down

0 comments on commit ef324bd

Please sign in to comment.