From 1f7f6e3009d9f3a548d7215c6c5d4a83cf0a934a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 29 Apr 2016 12:08:59 +0200 Subject: [PATCH] surpressed warnings that cannot be fixed anyway --- src/org/mxchange/jcontactsbusiness/CompanyContact.java | 4 ++++ .../jcontactsbusiness/basicdata/CompanyBasicData.java | 2 ++ .../jcontactsbusiness/branch/CompanyBranchOffice.java | 2 ++ .../jcontactsbusiness/department/CompanyDepartment.java | 2 ++ .../mxchange/jcontactsbusiness/employee/CompanyEmployee.java | 2 ++ .../headquarters/CompanyHeadQuartersData.java | 2 ++ .../jcontactsbusiness/jobposition/EmployeePosition.java | 2 ++ src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java | 2 ++ .../jcontactsbusiness/opening_times/BusinessOpeningTimes.java | 4 ++++ 9 files changed, 22 insertions(+) diff --git a/src/org/mxchange/jcontactsbusiness/CompanyContact.java b/src/org/mxchange/jcontactsbusiness/CompanyContact.java index 4562bdc..b542c40 100644 --- a/src/org/mxchange/jcontactsbusiness/CompanyContact.java +++ b/src/org/mxchange/jcontactsbusiness/CompanyContact.java @@ -138,11 +138,13 @@ public class CompanyContact implements BusinessContact { } @Override + @SuppressWarnings ("ReturnOfCollectionOrArrayField") public List getBrancheOffices () { return this.brancheOffices; } @Override + @SuppressWarnings ("AssignmentToCollectionOrArrayFieldFromParameter") public void setBrancheOffices (final List brancheOffices) { this.brancheOffices = brancheOffices; } @@ -178,11 +180,13 @@ public class CompanyContact implements BusinessContact { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getContactCreated () { return this.contactCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setContactCreated (final Calendar contactCreated) { this.contactCreated = contactCreated; } diff --git a/src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java b/src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java index aa8f831..38cced0 100644 --- a/src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java +++ b/src/org/mxchange/jcontactsbusiness/basicdata/CompanyBasicData.java @@ -169,11 +169,13 @@ public class CompanyBasicData implements BusinessBasicData { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getBasicCreated () { return this.basicCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setBasicCreated (final Calendar basicCreated) { this.basicCreated = basicCreated; } diff --git a/src/org/mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java b/src/org/mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java index 2327e8c..e9b7721 100644 --- a/src/org/mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java +++ b/src/org/mxchange/jcontactsbusiness/branch/CompanyBranchOffice.java @@ -225,11 +225,13 @@ public class CompanyBranchOffice implements BranchOffice { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getBranchCreated () { return this.branchCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setBranchCreated (final Calendar branchCreated) { this.branchCreated = branchCreated; } diff --git a/src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java b/src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java index 048f87f..cf335c9 100644 --- a/src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java +++ b/src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java @@ -173,11 +173,13 @@ public class CompanyDepartment implements Department { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getDepartmentCreated () { return this.departmentCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setDepartmentCreated (final Calendar departmentCreated) { this.departmentCreated = departmentCreated; } diff --git a/src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java b/src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java index a1d253b..2a7ed33 100644 --- a/src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java +++ b/src/org/mxchange/jcontactsbusiness/employee/CompanyEmployee.java @@ -203,11 +203,13 @@ public class CompanyEmployee implements Employee { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getEmployeeCreated () { return this.employeeCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setEmployeeCreated (final Calendar employeeCreated) { this.employeeCreated = employeeCreated; } diff --git a/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java b/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java index fa0d78e..5c5753b 100644 --- a/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java +++ b/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java @@ -201,11 +201,13 @@ public class CompanyHeadQuartersData implements HeadQuartersData { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getHeadquartersCreated () { return this.headquartersCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setHeadquartersCreated (final Calendar headquartersCreated) { this.headquartersCreated = headquartersCreated; } diff --git a/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java b/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java index 9dfa180..05673ec 100644 --- a/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java +++ b/src/org/mxchange/jcontactsbusiness/jobposition/EmployeePosition.java @@ -93,11 +93,13 @@ public class EmployeePosition implements JobPosition { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getJobPositionCreated () { return this.jobPositionCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setJobPositionCreated (final Calendar jobPositionCreated) { this.jobPositionCreated = jobPositionCreated; } diff --git a/src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java b/src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java index 032cfd4..439f9f9 100644 --- a/src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java +++ b/src/org/mxchange/jcontactsbusiness/logo/CompanyLogo.java @@ -99,11 +99,13 @@ public class CompanyLogo implements BusinessLogo { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getLogoCreated () { return this.logoCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setLogoCreated (final Calendar logoCreated) { this.logoCreated = logoCreated; } diff --git a/src/org/mxchange/jcontactsbusiness/opening_times/BusinessOpeningTimes.java b/src/org/mxchange/jcontactsbusiness/opening_times/BusinessOpeningTimes.java index 2e3f50b..fe6b882 100644 --- a/src/org/mxchange/jcontactsbusiness/opening_times/BusinessOpeningTimes.java +++ b/src/org/mxchange/jcontactsbusiness/opening_times/BusinessOpeningTimes.java @@ -175,11 +175,13 @@ public class BusinessOpeningTimes implements OpeningTimes { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getEndTime () { return this.endTime; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setEndTime (final Calendar endTime) { this.endTime = endTime; } @@ -205,11 +207,13 @@ public class BusinessOpeningTimes implements OpeningTimes { } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getStartTime () { return this.startTime; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setStartTime (final Calendar startTime) { this.startTime = startTime; } -- 2.39.5