aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at/gv
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-11-17 14:31:59 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-11-19 09:03:18 +0100
commit6390740db3f7bce161ea2f4d4bcb494fcda59022 (patch)
treee2ae7be007ef428e1af852b4deca5fa8f42b60c4 /pdf-as-lib/src/main/java/at/gv
parent6e0b7b794a0f2e01478fd7a757eee07bae42dad9 (diff)
downloadpdf-as-4-6390740db3f7bce161ea2f4d4bcb494fcda59022.tar.gz
pdf-as-4-6390740db3f7bce161ea2f4d4bcb494fcda59022.tar.bz2
pdf-as-4-6390740db3f7bce161ea2f4d4bcb494fcda59022.zip
synchronized preProcessor loader
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/preprocessor/PreProcessorLoader.java2
1 files changed, 1 insertions, 1 deletions
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<PreProcessor> preProcessorLoader = ServiceLoader.load(PreProcessor.class);
- public static List<PreProcessor> getPreProcessors(Configuration configuration) {
+ public synchronized static List<PreProcessor> getPreProcessors(Configuration configuration) {
logger.debug("building PreProcessors");
List<PreProcessor> processors = new ArrayList<PreProcessor>();