From: Peter Hancock Date: Thu, 5 Jul 2012 15:17:59 +0000 (+0000) Subject: Synchronized FopFactory.getRendererConfig X-Git-Tag: fop-2_0~332 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=95618303708dac1f2430073ffcda4816b95112c6;p=xmlgraphics-fop.git Synchronized FopFactory.getRendererConfig git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357674 13f79535-47bb-0310-9956-ffa450edef68 --- 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) {