File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
main/java/no/digipost/signature/client/asice/signature
test/java/no/digipost/signature/client/asice/signature Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 3030 <name >Posten signering - Java API Client BOM</name >
3131
3232 <properties >
33- <signature .api.version>3.0 .0</signature .api.version>
33+ <signature .api.version>3.1 .0</signature .api.version>
3434 </properties >
3535
3636 <dependencyManagement >
Original file line number Diff line number Diff line change 77import org .w3c .dom .Node ;
88import org .w3c .dom .NodeList ;
99
10- import static java .util .Collections .singleton ;
1110import static java .util .stream .IntStream .range ;
1211
1312final class XAdESArtifacts {
1413
15- private static JaxbMarshaller marshaller = new JaxbMarshaller (singleton ( QualifyingProperties .class ) );
14+ private static JaxbMarshaller marshaller = new JaxbMarshaller (QualifyingProperties .class );
1615
1716
1817 public static XAdESArtifacts from (QualifyingProperties qualifyingProperties ) {
Original file line number Diff line number Diff line change 2222import java .time .ZoneId ;
2323import java .time .ZonedDateTime ;
2424import java .util .Base64 ;
25- import java .util .HashSet ;
2625import java .util .List ;
2726
2827import static java .util .Arrays .asList ;
@@ -44,7 +43,7 @@ class CreateSignatureTest {
4443 private KeyStoreConfig noekkelpar ;
4544 private List <ASiCEAttachable > files ;
4645
47- private static final JaxbMarshaller unmarshaller = new JaxbMarshaller (new HashSet <>( asList ( XAdESSignatures .class , QualifyingProperties .class )) );
46+ private static final JaxbMarshaller unmarshaller = new JaxbMarshaller (XAdESSignatures .class , QualifyingProperties .class );
4847
4948 @ BeforeEach
5049 void setUp () {
You can’t perform that action at this time.
0 commit comments