X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fjava%2Forg%2Fmxchange%2Fpizzaapplication%2Fbeans%2Fcountry%2FPizzaCountryWebApplicationBean.java;h=c95c39c311c0147741225b16ba445d15b903653c;hb=94d204235cf894eff47a73f4cb31ac19eb2f62c6;hp=027076131d3dd518ec859c340e847e98047a0974;hpb=e808ca7bb052ae5008eb43b89003c957b247b087;p=pizzaservice-war.git diff --git a/src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java b/src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java index 02707613..c95c39c3 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Roland Haeder + * Copyright (C) 2016 Roland Häder * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -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; @@ -29,13 +28,13 @@ import javax.naming.InitialContext; import javax.naming.NamingException; import org.mxchange.jcountry.data.Country; import org.mxchange.jcountry.data.CountrySingletonBeanRemote; -import org.mxchange.jcountry.events.AdminAddedCountryEvent; +import org.mxchange.jcountry.events.ObservableAdminAddedCountryEvent; import org.mxchange.pizzaapplication.beans.BasePizzaController; /** * A country bean *
- * @author Roland Haeder
+ * @param event Event instance
+ */
+ public void afterAdminAddedCountryEvent (@Observes final ObservableAdminAddedCountryEvent event) {
// Is all valid?
if (null == event) {
// Throw NPE
@@ -95,14 +99,10 @@ public class PizzaCountryWebApplicationBean extends BasePizzaController implemen
}
@Override
+ @SuppressWarnings ("ReturnOfCollectionOrArrayField")
public List