From 32b39e2db950e24f567fa97aeb9965f3b137cc2e Mon Sep 17 00:00:00 2001 From: joethei Date: Thu, 23 May 2019 11:10:56 +0200 Subject: [PATCH] fixed constructors not compiling --- src/main/java/de/hsel/itech/db/pojo/CreditCardPayment.java | 2 -- src/main/java/de/hsel/itech/db/pojo/DebitCardPayment.java | 1 - src/main/java/de/hsel/itech/db/pojo/InvoicePayment.java | 2 -- 3 files changed, 5 deletions(-) diff --git a/src/main/java/de/hsel/itech/db/pojo/CreditCardPayment.java b/src/main/java/de/hsel/itech/db/pojo/CreditCardPayment.java index f47f23d..068d29a 100644 --- a/src/main/java/de/hsel/itech/db/pojo/CreditCardPayment.java +++ b/src/main/java/de/hsel/itech/db/pojo/CreditCardPayment.java @@ -1,6 +1,5 @@ package de.hsel.itech.db.pojo; -import lombok.AllArgsConstructor; import lombok.Data; import lombok.NonNull; import lombok.RequiredArgsConstructor; @@ -16,7 +15,6 @@ import java.time.LocalDate; **/ @Data -@AllArgsConstructor @RequiredArgsConstructor public class CreditCardPayment extends Payment{ diff --git a/src/main/java/de/hsel/itech/db/pojo/DebitCardPayment.java b/src/main/java/de/hsel/itech/db/pojo/DebitCardPayment.java index 9079997..1ec2cb7 100644 --- a/src/main/java/de/hsel/itech/db/pojo/DebitCardPayment.java +++ b/src/main/java/de/hsel/itech/db/pojo/DebitCardPayment.java @@ -14,7 +14,6 @@ import lombok.RequiredArgsConstructor; **/ @Data -@AllArgsConstructor @RequiredArgsConstructor public class DebitCardPayment extends Payment{ diff --git a/src/main/java/de/hsel/itech/db/pojo/InvoicePayment.java b/src/main/java/de/hsel/itech/db/pojo/InvoicePayment.java index 3f6ffaf..ca1c090 100644 --- a/src/main/java/de/hsel/itech/db/pojo/InvoicePayment.java +++ b/src/main/java/de/hsel/itech/db/pojo/InvoicePayment.java @@ -1,6 +1,5 @@ package de.hsel.itech.db.pojo; -import lombok.AllArgsConstructor; import lombok.Data; import lombok.NonNull; import lombok.RequiredArgsConstructor; @@ -14,7 +13,6 @@ import lombok.RequiredArgsConstructor; **/ @Data -@AllArgsConstructor @RequiredArgsConstructor public class InvoicePayment extends Payment{