From 1a4ee95c6787f49020419374cba585fcef9e1e61 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 --- .../beans/country/AddressbookCountryWebApplicationBean.java | 2 ++ 1 file changed, 2 insertions(+) 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(); } + } -- 2.39.5