From 2f5425491ac88ec4b65157ac85bde58fb7dce34c Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Tue, 20 Apr 2021 09:30:30 +0200 Subject: update third-party libs and verify / fix some jUnit tests --- .../src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'eaaf_core_utils/src') 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 sortCertificates(X509Certificate[] certChain) { - return sortCertificates(CollectionUtils.arrayToList(certChain)); + return sortCertificates(Arrays.asList(certChain)); } -- cgit v1.2.3