Skip to content

Commit

Permalink
Change getdeclarations return type to Set<String>
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed May 15, 2024
1 parent 128e247 commit e9616d1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -109,10 +110,10 @@ public String getdc_title() {
}

@Override
public String getdeclarations() {
public Set<String> getdeclarations() {
VeraPDFMeta xmpMetadata = this.getXmpMetadata();
if (xmpMetadata != null) {
return String.join(",", xmpMetadata.getDeclarations());
return xmpMetadata.getDeclarations();
}
return null;
}
Expand Down

0 comments on commit e9616d1

Please sign in to comment.