From f11d3bb5344974f9af92b3da87ce18a90c88fd31 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Mon, 19 Oct 2020 09:24:47 +0200 Subject: Bugfix on the PassData, wrong order of ReferenceNUm and ReferenceIA5 --- src/org/uic/ticket/api/asn/omv1/PassData.java | 3 +-- src/org/uic/ticket/api/asn/omv2/PassData.java | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/org/uic/ticket/api/asn/omv1/PassData.java b/src/org/uic/ticket/api/asn/omv1/PassData.java index fd700e0..98b719e 100644 --- a/src/org/uic/ticket/api/asn/omv1/PassData.java +++ b/src/org/uic/ticket/api/asn/omv1/PassData.java @@ -39,12 +39,11 @@ public class PassData extends Object { public PassData() { } + @Asn1Optional public Asn1BigInteger referenceNum; @RestrictedString(CharacterRestriction.IA5String) @Asn1Optional public String referenceIA5; - @Asn1Optional public Asn1BigInteger referenceNum; - @IntRange(minValue=1,maxValue=32000) @Asn1Optional public Long productOwnerNum; diff --git a/src/org/uic/ticket/api/asn/omv2/PassData.java b/src/org/uic/ticket/api/asn/omv2/PassData.java index 1058d85..548167e 100644 --- a/src/org/uic/ticket/api/asn/omv2/PassData.java +++ b/src/org/uic/ticket/api/asn/omv2/PassData.java @@ -39,12 +39,11 @@ public class PassData extends Object { public PassData() { } - + @Asn1Optional public Asn1BigInteger referenceNum; + @RestrictedString(CharacterRestriction.IA5String) @Asn1Optional public String referenceIA5; - @Asn1Optional public Asn1BigInteger referenceNum; - @IntRange(minValue=1,maxValue=32000) @Asn1Optional public Long productOwnerNum; -- cgit v1.2.3