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=1a4ee95c6787f49020419374cba585fcef9e1e61;p=jfinancials-war.git don't show a warning here, returning original list is wanted --- diff --git a/src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebApplicationBean.java b/src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebApplicationBean.java index a196d112..7e890d2a 100644 --- a/src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebApplicationBean.java +++ b/src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebApplicationBean.java @@ -94,6 +94,7 @@ public class AddressbookCountryWebApplicationBean extends BaseAddressbookControl } @Override + @SuppressWarnings ("ReturnOfCollectionOrArrayField") public List allCountries () { // Return "cached" version return this.countryList; @@ -107,4 +108,5 @@ public class AddressbookCountryWebApplicationBean extends BaseAddressbookControl // "Cache" country list as this will not change so often. this.countryList = this.countryBean.allCountries(); } + }