Commit inicial
This commit is contained in:
parent
6b38a6dc62
commit
b2d2fc88ff
@ -24,7 +24,7 @@ public class MinisterioService {
|
|||||||
List<Ministerio> lista = ministerioDAO.obtenerListaMinisterios();
|
List<Ministerio> lista = ministerioDAO.obtenerListaMinisterios();
|
||||||
|
|
||||||
// Esto provoca error
|
// Esto provoca error
|
||||||
lista = null;
|
//lista = null;
|
||||||
|
|
||||||
if (lista == null || lista.isEmpty()) {
|
if (lista == null || lista.isEmpty()) {
|
||||||
throw new RuntimeException("No hay miinisterios disponibles");
|
throw new RuntimeException("No hay miinisterios disponibles");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user