diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2023-11-30 08:57:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 08:57:50 +0100 |
commit | 949978f7eea65000737414f15426e1e015c9e4bf (patch) | |
tree | 86e5345c061cb1dc4d3f1ad4b783f6590c03d660 /src/main/java/org/uic/barcode/ticket/api/asn/omv3/ReservationData.java | |
parent | Merge pull request #72 from UnionInternationalCheminsdeFer/1.4.4 (diff) | |
parent | c1 (diff) | |
download | UIC-barcode-949978f7eea65000737414f15426e1e015c9e4bf.tar UIC-barcode-949978f7eea65000737414f15426e1e015c9e4bf.tar.gz UIC-barcode-949978f7eea65000737414f15426e1e015c9e4bf.tar.bz2 UIC-barcode-949978f7eea65000737414f15426e1e015c9e4bf.tar.lz UIC-barcode-949978f7eea65000737414f15426e1e015c9e4bf.tar.xz UIC-barcode-949978f7eea65000737414f15426e1e015c9e4bf.tar.zst UIC-barcode-949978f7eea65000737414f15426e1e015c9e4bf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main/java/org/uic/barcode/ticket/api/asn/omv3/ReservationData.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/ReservationData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/ReservationData.java index f841f91..c656f8a 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/ReservationData.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/ReservationData.java @@ -314,7 +314,7 @@ public class ReservationData extends Object { public Long getArrivalDate() {
if (arrivalDate == null) {
- return new Long(0);
+ return Long.valueOf(0L);
}
return this.arrivalDate;
@@ -397,7 +397,7 @@ public class ReservationData extends Object { public Long getTypeOfSupplement() {
if (typeOfSupplement == null){
- return new Long(0);
+ return 0L;
}
@@ -407,7 +407,7 @@ public class ReservationData extends Object { public Long getNumberOfSupplements() {
if (numberOfSupplements == null) {
- return new Long(0);
+ return 0L;
}
return this.numberOfSupplements;
|