fixes bug#22458
dev:wilian qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@106955 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
3ccb8179e9
commit
614f1c8d17
|
@ -73,7 +73,8 @@ public class ConexionCtrlVO {
|
|||
}
|
||||
|
||||
public boolean isOrigemDestinoIgual(Integer origemConexaoCtrl, Integer destinoConexaoCtrl) {
|
||||
return getOrigenId().equals(origemConexaoCtrl) && getDestinoId().equals(destinoConexaoCtrl);
|
||||
return getOrigenId() != null && getOrigenId().equals(origemConexaoCtrl) &&
|
||||
getDestinoId() !=null && getDestinoId().equals(destinoConexaoCtrl);
|
||||
}
|
||||
|
||||
public boolean isValida() {
|
||||
|
|
Loading…
Reference in New Issue