From daf674ea8935239d8e66adde19255c8009e13e08 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Fri, 31 May 2024 23:51:06 +0200 Subject: [PATCH] Updated versions; including BouncyCastle --- .../helger/as2lib/disposition/AS2DispositionException.java | 2 +- .../com/helger/as2lib/disposition/DispositionOptions.java | 2 +- pom.xml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/as2-lib/src/main/java/com/helger/as2lib/disposition/AS2DispositionException.java b/as2-lib/src/main/java/com/helger/as2lib/disposition/AS2DispositionException.java index 112b5711..c35c3583 100644 --- a/as2-lib/src/main/java/com/helger/as2lib/disposition/AS2DispositionException.java +++ b/as2-lib/src/main/java/com/helger/as2lib/disposition/AS2DispositionException.java @@ -97,7 +97,7 @@ public static AS2DispositionException wrap (@Nonnull final Exception ex, final ICommonsList aCauses = ((AS2ProcessorException) ex).getAllCauses (); if (aCauses.size () == 1) { - final AS2Exception aFirst = aCauses.getFirst (); + final AS2Exception aFirst = aCauses.getFirstOrNull (); if (aFirst instanceof AS2DispositionException) return (AS2DispositionException) aFirst; } diff --git a/as2-lib/src/main/java/com/helger/as2lib/disposition/DispositionOptions.java b/as2-lib/src/main/java/com/helger/as2lib/disposition/DispositionOptions.java index 9a1740b9..1ec08336 100644 --- a/as2-lib/src/main/java/com/helger/as2lib/disposition/DispositionOptions.java +++ b/as2-lib/src/main/java/com/helger/as2lib/disposition/DispositionOptions.java @@ -280,7 +280,7 @@ public ICommonsList getAllMICAlgs () @Nullable public ECryptoAlgorithmSign getFirstMICAlg () { - return m_aMICAlgs.getFirst (); + return m_aMICAlgs.getFirstOrNull (); } /** diff --git a/pom.xml b/pom.xml index fb5c5b50..89dc3ff7 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ - 2.22.1 + 2.23.1 2.7.18 @@ -77,7 +77,7 @@ com.helger.commons ph-commons-parent-pom - 11.1.3 + 11.1.6 pom import @@ -91,7 +91,7 @@ com.helger ph-css-parent-pom - 7.0.1 + 7.0.2 pom import