From: Roland Haeder Date: Tue, 11 Apr 2017 09:58:27 +0000 (+0200) Subject: don't show a warning here, returning original list is wanted X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4201567cb88850dee404ab997343e11bc0f1d80a;p=jjobs-war.git don't show a warning here, returning original list is wanted --- diff --git a/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java index 8e2a27b8..60519c8a 100644 --- a/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java @@ -94,6 +94,7 @@ public class JobsCountryWebApplicationBean extends BaseJobsController implements } @Override + @SuppressWarnings ("ReturnOfCollectionOrArrayField") public List allCountries () { // Return "cached" version return this.countryList; @@ -107,4 +108,5 @@ public class JobsCountryWebApplicationBean extends BaseJobsController implements // "Cache" country list as this will not change so often. this.countryList = this.countryBean.allCountries(); } + }