From: Roland Häder Date: Fri, 29 Apr 2016 10:10:01 +0000 (+0200) Subject: surpressed warnings that cannot be fixed anyway X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e463e17df1379323cf9755a62e0409f4cf3d8ebf;p=jphone-core.git surpressed warnings that cannot be fixed anyway --- 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; }