From eae667d1481eabf46e489d28f029371fadf6e3fb Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Fri, 8 Jan 2021 15:58:56 +0100 Subject: issuerOnLine changed from int to Integer as it is optional --- src/org/uic/ticket/api/impl/SimpleIssuingDetail.java | 6 +++--- src/org/uic/ticket/api/spec/IIssuingDetail.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/org/uic/ticket/api/impl/SimpleIssuingDetail.java b/src/org/uic/ticket/api/impl/SimpleIssuingDetail.java index c74c247..843cdfd 100644 --- a/src/org/uic/ticket/api/impl/SimpleIssuingDetail.java +++ b/src/org/uic/ticket/api/impl/SimpleIssuingDetail.java @@ -45,7 +45,7 @@ public class SimpleIssuingDetail implements IIssuingDetail{ protected String issuedOnTrain; /** The issued on line. */ - int issuedOnLine = 0; + Integer issuedOnLine = 0; /** The point of sale. */ protected IGeoCoordinate pointOfSale; @@ -185,14 +185,14 @@ public class SimpleIssuingDetail implements IIssuingDetail{ /* (nicht-Javadoc) * @see org.uic.ticket.api.spec.IIssuingDetail#getIssuedOnLine() */ - public int getIssuedOnLine() { + public Integer getIssuedOnLine() { return issuedOnLine; } /* (nicht-Javadoc) * @see org.uic.ticket.api.spec.IIssuingDetail#setIssuedOnLine(int) */ - public void setIssuedOnLine(int issuedOnLine) { + public void setIssuedOnLine(Integer issuedOnLine) { this.issuedOnLine = issuedOnLine; } diff --git a/src/org/uic/ticket/api/spec/IIssuingDetail.java b/src/org/uic/ticket/api/spec/IIssuingDetail.java index 1baaaae..21472ed 100644 --- a/src/org/uic/ticket/api/spec/IIssuingDetail.java +++ b/src/org/uic/ticket/api/spec/IIssuingDetail.java @@ -156,7 +156,7 @@ public interface IIssuingDetail { * * @return the issued on line */ - public int getIssuedOnLine(); + public Integer getIssuedOnLine(); /** @@ -164,7 +164,7 @@ public interface IIssuingDetail { * * @param issuedOnLine the new issued on line */ - public void setIssuedOnLine(int issuedOnLine); + public void setIssuedOnLine(Integer issuedOnLine); /** -- cgit v1.2.3