diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/CopiarPricingEspecificoController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/CopiarPricingEspecificoController.java index bdded1f56..ffeb4c3e7 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/CopiarPricingEspecificoController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/CopiarPricingEspecificoController.java @@ -12,10 +12,8 @@ import org.zkoss.zk.ui.Executions; import org.zkoss.zk.ui.event.Event; import org.zkoss.zul.Textbox; -import com.rjconsultores.ventaboletos.entidad.Pricing; import com.rjconsultores.ventaboletos.entidad.PricingEspecifico; import com.rjconsultores.ventaboletos.service.PricingEspecificoService; -import com.rjconsultores.ventaboletos.service.PricingService; import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer; import com.rjconsultores.ventaboletos.web.utilerias.MyListbox; diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingController.java index 183ecc240..7273b2466 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingController.java @@ -99,6 +99,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPricingVigencia */ @Controller("editarPricingController") @Scope("prototype") +@SuppressWarnings("unused") public class EditarPricingController extends MyGenericForwardComposer { private static final long serialVersionUID = 1L; diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingOcupaAntecipaAutomaticoController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingOcupaAntecipaAutomaticoController.java index f1b010d78..08c7f25ec 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingOcupaAntecipaAutomaticoController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingOcupaAntecipaAutomaticoController.java @@ -60,6 +60,7 @@ public class EditarPricingOcupaAntecipaAutomaticoController extends MyGenericFor private ConstraintPorcentagem ct; private static Logger log = Logger.getLogger(EditarPricingOcupaAntecipaController.class); + @SuppressWarnings("unchecked") @Override public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingOcupaAntecipaController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingOcupaAntecipaController.java index 36a05f2c0..b4be4402c 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingOcupaAntecipaController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingOcupaAntecipaController.java @@ -81,7 +81,10 @@ public class EditarPricingOcupaAntecipaController extends MyGenericForwardCompos } lsPricingOcupaAntecipa = pricingOcupaAntecipaService.updateList(pricingOcupaAntecipa); - pricingOcupaAntecipaList.setData(lsPricingOcupaAntecipa); + + if( !lsPricingOcupaAntecipa.isEmpty() ) { + pricingOcupaAntecipaList.setData(lsPricingOcupaAntecipa); + } if (lsPricingOcupaAntecipa.contains(pricingOcupaAntecipa)) { pricingOcupaAntecipa = lsPricingOcupaAntecipa.get(lsPricingOcupaAntecipa.indexOf(pricingOcupaAntecipa));