From ff92a9b4013dfc10399f30fffc029ef3d3bec6da Mon Sep 17 00:00:00 2001 From: maroni Date: Sun, 18 Mar 2012 17:15:25 -0300 Subject: [PATCH] =?utf8?q?Ajustes=20acordados=20na=20reuni=C3=A3o=20de=20sex?= =?utf8?q?ta=20feira=20dia=2016/03/12?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/conf/persistence.xml | 2 +- .../simdecs/comunicacao/MetodoIniciaCaso.java | 10 ++++++---- src/java/org/ufcspa/simdecs/util/UnBUtil.java | 1 - web/login.xhtml | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/conf/persistence.xml b/src/conf/persistence.xml index 682a3c9..be7ab4d 100644 --- a/src/conf/persistence.xml +++ b/src/conf/persistence.xml @@ -22,7 +22,7 @@ true - + diff --git a/src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java b/src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java index 72b1c75..805857a 100644 --- a/src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java +++ b/src/java/org/ufcspa/simdecs/comunicacao/MetodoIniciaCaso.java @@ -103,6 +103,8 @@ public class MetodoIniciaCaso extends HttpServlet { if (returnResposta.substring(0,1).equals(returnResposta.substring(0,1).toLowerCase())) return returnResposta.substring(0,1).toUpperCase() + returnResposta.substring(1); + else + return returnResposta; } } @@ -170,7 +172,7 @@ public class MetodoIniciaCaso extends HttpServlet { if (!nodo.getNodo().getTipo().equals(Nodo.SINAL_SINTOMA) && !nodo.getNodo().getTipo().equals(Nodo.HISTORICO)) continue; - out.println(" "); + out.println(" "); } // Sinais e sintomas inativos @@ -182,7 +184,7 @@ public class MetodoIniciaCaso extends HttpServlet { if (!nodo.getTipo().equals(Nodo.SINAL_SINTOMA) && !nodo.getTipo().equals(Nodo.HISTORICO)) continue; - out.println(" "); + out.println(" "); } out.println(" "); @@ -193,7 +195,7 @@ public class MetodoIniciaCaso extends HttpServlet { if (!nodo.getNodo().getTipo().equals(Nodo.EXAME_FISICO)) continue; - out.println(" "); + out.println(" "); } out.println(" "); @@ -203,7 +205,7 @@ public class MetodoIniciaCaso extends HttpServlet { if (!nodo.getNodo().getTipo().equals(Nodo.EXAME_COMPLEMENTAR)) continue; - out.println(" "); + out.println(" "); } out.println(" "); /* diff --git a/src/java/org/ufcspa/simdecs/util/UnBUtil.java b/src/java/org/ufcspa/simdecs/util/UnBUtil.java index 495ef1e..8b3e252 100644 --- a/src/java/org/ufcspa/simdecs/util/UnBUtil.java +++ b/src/java/org/ufcspa/simdecs/util/UnBUtil.java @@ -36,7 +36,6 @@ public class UnBUtil { try { // required to run unbbayes gui classes on server System.setProperty("java.awt.headless", "false"); - System.out.println("REDE: " + redeEntity.getArquivo()); rede = new ProbabilisticNetwork(null); XMLBIFIO.loadXML(new File(redeEntity.getArquivo()), rede); diff --git a/web/login.xhtml b/web/login.xhtml index 3ee2118..891c589 100644 --- a/web/login.xhtml +++ b/web/login.xhtml @@ -33,7 +33,7 @@

- + -- 1.7.6.4