git-svn-id: https://svn.coded.pt/svn/SIPRP@1548 bb69d46d-e84e-40c8-a05a-06db0d633741

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Diogo Neves 15 years ago
parent fc37cf5086
commit b6ddc7d4a4

@ -11676,6 +11676,8 @@ public class AnaliseAcidenteTrabalho extends AbstractPageBean {
if(txtCoefIncapacidade.getText() != null) if(txtCoefIncapacidade.getText() != null)
{ {
String coef_str = txtCoefIncapacidade.getText().toString(); String coef_str = txtCoefIncapacidade.getText().toString();
if ( coef_str != null && ! "".equals( coef_str.trim() ) )
{
try try
{ {
int coef = Integer.parseInt( coef_str ); int coef = Integer.parseInt( coef_str );
@ -11686,6 +11688,7 @@ public class AnaliseAcidenteTrabalho extends AbstractPageBean {
ErrorLogger.logException( ex ); ErrorLogger.logException( ex );
} }
} }
}
DateFormat formatador = new SimpleDateFormat("yyyy-MM-dd"); DateFormat formatador = new SimpleDateFormat("yyyy-MM-dd");

Loading…
Cancel
Save