From b71c82d557ea2610409542826ce9842ae86981ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 29 Apr 2016 12:11:16 +0200 Subject: [PATCH] surpressed warnings that cannot be fixed anyway --- .../jusercore/model/email_address/EmailAddressChange.java | 4 ++++ src/org/mxchange/jusercore/model/user/LoginUser.java | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java index a705854..29bc123 100644 --- a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java +++ b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java @@ -197,21 +197,25 @@ public class EmailAddressChange implements ChangeableEmailAddress { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getEmailChangeCreated () { return this.emailChangeCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setEmailChangeCreated (final Calendar emailChangeCreated) { this.emailChangeCreated = emailChangeCreated; } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getEmailChangeDone () { return this.emailChangeDone; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setEmailChangeDone (final Calendar emailChangeDone) { this.emailChangeDone = emailChangeDone; } diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index b5bc4da..5bb011f 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -234,11 +234,13 @@ public class LoginUser implements User { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getUserCreated () { return this.userCreated; } @Override + @SuppressWarnings ("ReturnOfDateField") public void setUserCreated (final Calendar userCreated) { this.userCreated = userCreated; } @@ -264,11 +266,13 @@ public class LoginUser implements User { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getUserLastLocked () { return this.userLastLocked; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setUserLastLocked (final Calendar userLastLocked) { this.userLastLocked = userLastLocked; } @@ -304,11 +308,13 @@ public class LoginUser implements User { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getUserUpdated () { return this.userUpdated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setUserUpdated (final Calendar userUpdated) { this.userUpdated = userUpdated; } -- 2.39.5