]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java
Continued with splitting/cleanup: (please cherry-pick)
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / country / JobsCountryWebApplicationBean.java
index fbeb7f51c77339f60c4961e36832bf8e3c25c5df..ff02ee7a6ee202a5d04d476c9b046712c7f4e2fe 100644 (file)
@@ -17,7 +17,6 @@
 package org.mxchange.jjobs.beans.country;
 
 import java.text.MessageFormat;
-import java.util.Collections;
 import java.util.List;
 import javax.annotation.PostConstruct;
 import javax.enterprise.context.ApplicationScoped;
@@ -37,7 +36,7 @@ import org.mxchange.jjobs.beans.BaseJobsController;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
-@Named ("country")
+@Named ("countryController")
 @ApplicationScoped
 public class JobsCountryWebApplicationBean extends BaseJobsController implements JobsCountryWebApplicationController {
 
@@ -97,12 +96,7 @@ public class JobsCountryWebApplicationBean extends BaseJobsController implements
        @Override
        public List<Country> allCountries () {
                // Return "cached" version
-               return Collections.unmodifiableList(this.countryList);
-       }
-
-       @Override
-       public boolean hasCountries () {
-               return (!this.countryList.isEmpty());
+               return this.countryList;
        }
 
        /**