diff options
author | Peter Hancock <phancock@apache.org> | 2012-07-05 15:17:59 +0000 |
---|---|---|
committer | Peter Hancock <phancock@apache.org> | 2012-07-05 15:17:59 +0000 |
commit | 95618303708dac1f2430073ffcda4816b95112c6 (patch) | |
tree | 774e3a490611c8e041b50352890550dee855c996 /src/java/org/apache/fop/apps | |
parent | 4c623422efd8d216ffe6ba70425a7d5250c3b406 (diff) | |
download | xmlgraphics-fop-95618303708dac1f2430073ffcda4816b95112c6.tar.gz xmlgraphics-fop-95618303708dac1f2430073ffcda4816b95112c6.zip |
Synchronized FopFactory.getRendererConfig
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps')
-rw-r--r-- | src/java/org/apache/fop/apps/FopFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/apps/FopFactory.java b/src/java/org/apache/fop/apps/FopFactory.java index 6796385e4..359fdb784 100644 --- a/src/java/org/apache/fop/apps/FopFactory.java +++ b/src/java/org/apache/fop/apps/FopFactory.java @@ -295,7 +295,7 @@ public final class FopFactory implements ImageContext { * @return the config object * @throws FOPException when an error occurs while creating the configuration object */ - RendererConfig getRendererConfig(FOUserAgent userAgent, Configuration cfg, + synchronized RendererConfig getRendererConfig(FOUserAgent userAgent, Configuration cfg, RendererConfigParser configCreator) throws FOPException { RendererConfig config = rendererConfig.get(configCreator.getMimeType()); if (config == null) { |