diff options
author | Thomas <> | 2021-04-20 09:30:30 +0200 |
---|---|---|
committer | Thomas <> | 2021-04-20 09:30:30 +0200 |
commit | 2f5425491ac88ec4b65157ac85bde58fb7dce34c (patch) | |
tree | 94d886118f8bc512ecce3f04df95350817a406e4 /eaaf_core_utils | |
parent | 3cd52ab38e4d57b6f056dbf47897d80f419522df (diff) | |
download | EAAF-Components-2f5425491ac88ec4b65157ac85bde58fb7dce34c.tar.gz EAAF-Components-2f5425491ac88ec4b65157ac85bde58fb7dce34c.tar.bz2 EAAF-Components-2f5425491ac88ec4b65157ac85bde58fb7dce34c.zip |
update third-party libs and verify / fix some jUnit tests
Diffstat (limited to 'eaaf_core_utils')
-rw-r--r-- | eaaf_core_utils/pom.xml | 5 | ||||
-rw-r--r-- | eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/eaaf_core_utils/pom.xml b/eaaf_core_utils/pom.xml index e0cb88e3..7b79211a 100644 --- a/eaaf_core_utils/pom.xml +++ b/eaaf_core_utils/pom.xml @@ -98,11 +98,6 @@ </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <scope>test</scope> diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java index e2fc4d1b..4d872ebe 100644 --- a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java +++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java @@ -1,12 +1,11 @@ package at.gv.egiz.eaaf.core.impl.utils; import java.security.cert.X509Certificate; +import java.util.Arrays; import java.util.List; import javax.security.auth.x500.X500Principal; -import org.springframework.util.CollectionUtils; - public class X509Utils { /** @@ -17,7 +16,7 @@ public class X509Utils { * @return sorted Certificate Chain */ public static List<X509Certificate> sortCertificates(X509Certificate[] certChain) { - return sortCertificates(CollectionUtils.arrayToList(certChain)); + return sortCertificates(Arrays.asList(certChain)); } |