From e9616d1034939ec92ed5c812103c451335cd1209 Mon Sep 17 00:00:00 2001 From: Maxim Date: Wed, 15 May 2024 13:09:13 +0300 Subject: [PATCH] Change getdeclarations return type to Set --- .../java/org/verapdf/model/impl/axl/AXLMainXMPPackage.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/verapdf/model/impl/axl/AXLMainXMPPackage.java b/core/src/main/java/org/verapdf/model/impl/axl/AXLMainXMPPackage.java index 5d2565252..fbfab2a07 100644 --- a/core/src/main/java/org/verapdf/model/impl/axl/AXLMainXMPPackage.java +++ b/core/src/main/java/org/verapdf/model/impl/axl/AXLMainXMPPackage.java @@ -30,6 +30,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; +import java.util.Set; /** * Current class is representation of XMPPackage interface from abstract model based on adobe xmp library @@ -109,10 +110,10 @@ public String getdc_title() { } @Override - public String getdeclarations() { + public Set getdeclarations() { VeraPDFMeta xmpMetadata = this.getXmpMetadata(); if (xmpMetadata != null) { - return String.join(",", xmpMetadata.getDeclarations()); + return xmpMetadata.getDeclarations(); } return null; }