]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java
Rewrites:
[pizzaservice-war.git] / src / java / org / mxchange / pizzaapplication / beans / country / PizzaCountryWebApplicationBean.java
index 623ced5195255b5d4e381f1c5e3eb69e856b0897..78be1b4d7ea0af52fde791573f5fd0ed789d6c50 100644 (file)
@@ -17,7 +17,6 @@
 package org.mxchange.pizzaapplication.beans.country;
 
 import java.text.MessageFormat;
-import java.util.Collections;
 import java.util.List;
 import javax.annotation.PostConstruct;
 import javax.enterprise.context.ApplicationScoped;
@@ -94,9 +93,10 @@ public class PizzaCountryWebApplicationBean implements PizzaCountryWebApplicatio
        }
 
        @Override
+       @SuppressWarnings ("ReturnOfCollectionOrArrayField")
        public List<Country> allCountries () {
                // Return "cached" version
-               return Collections.unmodifiableList(this.countryList);
+               return this.countryList;
        }
 
        /**