]> git.mxchange.org Git - addressbook-war.git/commitdiff
don't show a warning here, returning original list is wanted
authorRoland Haeder <roland@mxchange.org>
Tue, 11 Apr 2017 09:58:27 +0000 (11:58 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 11 Apr 2017 10:11:45 +0000 (12:11 +0200)
src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebApplicationBean.java

index a196d112a768c786648673b5aa43a70a6b32fa69..7e890d2afdab10f2396a412dafe45928719b52cf 100644 (file)
@@ -94,6 +94,7 @@ public class AddressbookCountryWebApplicationBean extends BaseAddressbookControl
        }
 
        @Override
+       @SuppressWarnings ("ReturnOfCollectionOrArrayField")
        public List<Country> 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();
        }
+
 }