Skip to content

Commit

Permalink
#86696334 calling jDigidoc ConfigManager in a synchronized block for …
Browse files Browse the repository at this point in the history
…better thead-safety
  • Loading branch information
Rainer Villido authored and Rainer Villido committed Nov 4, 2015
1 parent be77613 commit 94d4e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/digidoc4j/impl/ddoc/ConfigManagerInitializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void initConfigManager(Configuration configuration) {
}
}

public static void forceInitConfigManager(Configuration configuration) {
public static synchronized void forceInitConfigManager(Configuration configuration) {
logger.info("Initializing DDoc configuration manager");
ConfigManager.init(configuration.getJDigiDocConfiguration());
ConfigManager.addProvider();
Expand Down

0 comments on commit 94d4e8b

Please sign in to comment.