From 4201567cb88850dee404ab997343e11bc0f1d80a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 11 Apr 2017 11:58:27 +0200 Subject: [PATCH] don't show a warning here, returning original list is wanted --- .../jjobs/beans/country/JobsCountryWebApplicationBean.java | 2 ++ 1 file changed, 2 insertions(+) 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(); } + } -- 2.39.5