From 612844dd0ee205942a137ad10d5bc199f763588a Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Wed, 22 Nov 2023 12:30:13 +0100 Subject: [PATCH] Version bump --- edec-codelist-tools/pom.xml | 2 +- .../src/main/java/eu/peppol/codelist/model/DocTypeRow.java | 2 +- .../src/main/java/eu/peppol/codelist/model/ProcessRow.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/edec-codelist-tools/pom.xml b/edec-codelist-tools/pom.xml index 855d951..ef9c79a 100644 --- a/edec-codelist-tools/pom.xml +++ b/edec-codelist-tools/pom.xml @@ -88,7 +88,7 @@ com.helger.peppol peppol-commons-parent-pom - 9.1.1-SNAPSHOT + 9.1.1 pom import diff --git a/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/DocTypeRow.java b/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/DocTypeRow.java index d91d57f..bd9ada9 100644 --- a/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/DocTypeRow.java +++ b/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/DocTypeRow.java @@ -131,7 +131,7 @@ public void checkConsistency () if (!PeppolIdentifierFactory.INSTANCE.isDocumentTypeIdentifierSchemeValid (m_sScheme)) throw new IllegalStateException ("Scheme does not match Peppol requirements"); - if (!PeppolIdentifierFactory.INSTANCE.isDocumentTypeIdentifierValueValid (m_sValue)) + if (!PeppolIdentifierFactory.INSTANCE.isDocumentTypeIdentifierValueValid (m_sScheme, m_sValue)) throw new IllegalStateException ("Value does not match Peppol requirements"); final IPeppolDocumentTypeIdentifierParts aParts = PeppolDocumentTypeIdentifierParts.extractFromString (m_sValue); if (aParts == null) diff --git a/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/ProcessRow.java b/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/ProcessRow.java index 36f8872..1ae63d3 100644 --- a/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/ProcessRow.java +++ b/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/ProcessRow.java @@ -83,7 +83,7 @@ public void checkConsistency () if (!PeppolIdentifierFactory.INSTANCE.isProcessIdentifierSchemeValid (m_sScheme)) throw new IllegalStateException ("Scheme does not match Peppol requirements"); - if (!PeppolIdentifierFactory.INSTANCE.isProcessIdentifierValueValid (m_sValue)) + if (!PeppolIdentifierFactory.INSTANCE.isProcessIdentifierValueValid (m_sScheme, m_sValue)) throw new IllegalStateException ("Value does not match Peppol requirements"); }