From ba0fc79eb055ddb7a827f696cb56cc55aa005445 Mon Sep 17 00:00:00 2001 From: Maxim Date: Thu, 7 Dec 2023 18:08:12 +0300 Subject: [PATCH] Add StaticXmpCoreContainers to cleanUp --- .../src/main/java/org/verapdf/model/ModelParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdfbox-validation-model/src/main/java/org/verapdf/model/ModelParser.java b/pdfbox-validation-model/src/main/java/org/verapdf/model/ModelParser.java index f6bdecd8..9f6d560b 100644 --- a/pdfbox-validation-model/src/main/java/org/verapdf/model/ModelParser.java +++ b/pdfbox-validation-model/src/main/java/org/verapdf/model/ModelParser.java @@ -21,6 +21,7 @@ package org.verapdf.model; import org.verapdf.xmp.XMPException; +import org.verapdf.xmp.containers.StaticXmpCoreContainers; import org.verapdf.xmp.impl.VeraPDFMeta; import java.util.logging.Logger; import org.apache.pdfbox.pdmodel.PDDocument; @@ -157,6 +158,7 @@ private static PDFAFlavour obtainFlavour(PDDocument document, PDFAFlavour defaul private static void cleanUp() { StaticContainers.clearAllContainers(); + StaticXmpCoreContainers.clearAllContainers(); } @Override