]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Synchronized FopFactory.getRendererConfig
authorPeter Hancock <phancock@apache.org>
Thu, 5 Jul 2012 15:17:59 +0000 (15:17 +0000)
committerPeter Hancock <phancock@apache.org>
Thu, 5 Jul 2012 15:17:59 +0000 (15:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357674 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/apps/FopFactory.java

index 6796385e4522564db3c8e1d5516c8d641ae1ac2d..359fdb7847c5ed8052aca57eb5c6bae46b32b086 100644 (file)
@@ -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) {