From cbfcdaa4726798b04b4a6c898820ef3347db3386 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 8 Oct 2017 00:09:47 +0200 Subject: [PATCH] Continued: - don't allow primary key being accidently set by constructors, that will trigger more bugs - got then rid of one constructor MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../opening_times/BusinessOpeningTimes.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/org/mxchange/jcontactsbusiness/model/opening_times/BusinessOpeningTimes.java b/src/org/mxchange/jcontactsbusiness/model/opening_times/BusinessOpeningTimes.java index 241e817..b14dd50 100644 --- a/src/org/mxchange/jcontactsbusiness/model/opening_times/BusinessOpeningTimes.java +++ b/src/org/mxchange/jcontactsbusiness/model/opening_times/BusinessOpeningTimes.java @@ -111,24 +111,7 @@ public class BusinessOpeningTimes implements OpeningTimes { } /** - * Constructor with all required field - *

- * @param openingEndDay End day - * @param openingEndTime End time - * @param openingId Id number - * @param openingStartDay Start day - * @param openingStartTime Start time - */ - public BusinessOpeningTimes (final DayOfTheWeek openingEndDay, final Date openingEndTime, final Long openingId, final DayOfTheWeek openingStartDay, final Date openingStartTime) { - // Call other constructor - this(openingEndDay, openingEndTime, openingStartDay, openingStartTime); - - // Set openingTimeId number - this.openingId = openingId; - } - - /** - * Constructor with all fields except openingTimeId number + * Constructor with all required fields except created timestamp *

* @param openingEndDay End day * @param openingEndTime End time -- 2.39.5