From 95618303708dac1f2430073ffcda4816b95112c6 Mon Sep 17 00:00:00 2001 From: Peter Hancock Date: Thu, 5 Jul 2012 15:17:59 +0000 Subject: [PATCH] Synchronized FopFactory.getRendererConfig 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5