From 3fe71d3bc518ff4353c87c878a536ac533230240 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Tue, 19 Mar 2024 21:56:01 +0100 Subject: [PATCH] Deprecated Peppol 2023-05 rules --- README.md | 1 + .../helger/phive/peppol/PeppolValidation.java | 3 +- .../phive/peppol/PeppolValidation2023_05.java | 31 ++++++++++--------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 52af2e0e..fbedd2eb 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,7 @@ I hope that with the introduction of PINT, the versioning problem will be solved * v3.1.9 - work in progress * Deprecated Peppol Business Card formats v1 and v2 + * Deprecated Peppol May 2023 release * v3.1.8 - 2024-03-06 * Added support for Peppol Reporting EUSR v1.1.5 and deprecated v1.1.4 * Added support for Peppol Reporting TSR v1.0.5 and deprecated v1.0.4 diff --git a/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation.java b/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation.java index 40278ffa..733b94cd 100644 --- a/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation.java +++ b/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation.java @@ -37,6 +37,7 @@ * @author Philip Helger */ @Immutable +@SuppressWarnings ("deprecation") public final class PeppolValidation { /** @@ -44,7 +45,6 @@ public final class PeppolValidation * Never null. * @since 5.1.8 */ - // @SuppressWarnings ("deprecation") @Nonnull @Nonempty public static String getVersionToUse () @@ -69,7 +69,6 @@ private PeppolValidation () * @param aRegistry * The registry to add the artefacts. May not be null. */ - // @SuppressWarnings ("deprecation") public static void initStandard (@Nonnull final IValidationExecutorSetRegistry aRegistry) { // For better error messages diff --git a/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation2023_05.java b/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation2023_05.java index 0f7fa085..c311a112 100644 --- a/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation2023_05.java +++ b/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation2023_05.java @@ -46,6 +46,7 @@ * @author Philip Helger */ @Immutable +@Deprecated public final class PeppolValidation2023_05 { // Standard resources @@ -111,7 +112,7 @@ public static void init (@Nonnull final IValidationExecutorSetRegistry