From e463e17df1379323cf9755a62e0409f4cf3d8ebf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 29 Apr 2016 12:10:01 +0200 Subject: [PATCH] surpressed warnings that cannot be fixed anyway --- .../jphone/phonenumbers/cellphone/CellphoneNumber.java | 4 ++++ src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java | 4 ++++ .../mxchange/jphone/phonenumbers/landline/LandLineNumber.java | 2 ++ .../jphone/phonenumbers/mobileprovider/CellphoneProvider.java | 2 ++ 4 files changed, 12 insertions(+) diff --git a/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java b/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java index 647cf5a..55a1bb6 100644 --- a/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java @@ -183,21 +183,25 @@ public class CellphoneNumber implements DialableCellphoneNumber { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getPhoneEntryCreated () { return this.phoneEntryCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setPhoneEntryCreated (final Calendar phoneEntryCreated) { this.phoneEntryCreated = phoneEntryCreated; } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getPhoneEntryUpdated () { return this.phoneEntryUpdated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setPhoneEntryUpdated (final Calendar phoneEntryUpdated) { this.phoneEntryUpdated = phoneEntryUpdated; } diff --git a/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java b/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java index a4e5a27..fb9a2cb 100644 --- a/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java @@ -181,21 +181,25 @@ public class FaxNumber implements DialableFaxNumber { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getPhoneEntryCreated () { return this.phoneEntryCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setPhoneEntryCreated (final Calendar phoneEntryCreated) { this.phoneEntryCreated = phoneEntryCreated; } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getPhoneEntryUpdated () { return this.phoneEntryUpdated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setPhoneEntryUpdated (final Calendar phoneEntryUpdated) { this.phoneEntryUpdated = phoneEntryUpdated; } diff --git a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java index 69383d9..63c830e 100644 --- a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java @@ -181,6 +181,7 @@ public class LandLineNumber implements DialableLandLineNumber { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getPhoneEntryCreated () { return this.phoneEntryCreated; } @@ -191,6 +192,7 @@ public class LandLineNumber implements DialableLandLineNumber { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getPhoneEntryUpdated () { return this.phoneEntryUpdated; } diff --git a/src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java b/src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java index 90f047c..58175e0 100644 --- a/src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java +++ b/src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java @@ -172,11 +172,13 @@ public class CellphoneProvider implements MobileProvider { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getProviderEntryCreated () { return this.providerEntryCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setProviderEntryCreated (final Calendar providerEntryCreated) { this.providerEntryCreated = providerEntryCreated; } -- 2.39.5