From 6390740db3f7bce161ea2f4d4bcb494fcda59022 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 17 Nov 2015 14:31:59 +0100 Subject: synchronized preProcessor loader --- .../java/at/gv/egiz/pdfas/lib/impl/preprocessor/PreProcessorLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-as-lib/src/main/java/at/gv/egiz') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/preprocessor/PreProcessorLoader.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/preprocessor/PreProcessorLoader.java index 91218c82..6213351f 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/preprocessor/PreProcessorLoader.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/preprocessor/PreProcessorLoader.java @@ -19,7 +19,7 @@ public class PreProcessorLoader { private static ServiceLoader preProcessorLoader = ServiceLoader.load(PreProcessor.class); - public static List getPreProcessors(Configuration configuration) { + public synchronized static List getPreProcessors(Configuration configuration) { logger.debug("building PreProcessors"); List processors = new ArrayList(); -- cgit v1.2.3