]> git.mxchange.org Git - jjobs-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 09:58:27 +0000 (11:58 +0200)
src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java

index 8e2a27b88cbb40f69494221c26c552b90816c6f1..60519c8aefcbe6c1e30afac2cc2eba3453dfa7ca 100644 (file)
@@ -94,6 +94,7 @@ public class JobsCountryWebApplicationBean extends BaseJobsController implements
        }
 
        @Override
+       @SuppressWarnings ("ReturnOfCollectionOrArrayField")
        public List<Country> allCountries () {
                // Return "cached" version
                return this.countryList;
@@ -107,4 +108,5 @@ public class JobsCountryWebApplicationBean extends BaseJobsController implements
                // "Cache" country list as this will not change so often.
                this.countryList = this.countryBean.allCountries();
        }
+
 }