fixes bug #7466
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@55942 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
bc7705da2d
commit
a37a5c7f1f
|
@ -325,7 +325,7 @@ public class Empresa implements Serializable {
|
|||
@Override
|
||||
public int hashCode() {
|
||||
int hash = 0;
|
||||
hash += (empresaId != null ? empresaId.hashCode() : 0);
|
||||
hash += (getEmpresaId() != null ? getEmpresaId().hashCode() : 0);
|
||||
return hash;
|
||||
}
|
||||
|
||||
|
@ -335,7 +335,7 @@ public class Empresa implements Serializable {
|
|||
return false;
|
||||
}
|
||||
Empresa other = (Empresa) object;
|
||||
if ((this.empresaId == null && other.empresaId != null) || (this.empresaId != null && !this.empresaId.equals(other.empresaId))) {
|
||||
if ((this.getEmpresaId() == null && other.getEmpresaId() != null) || (this.getEmpresaId() != null && !this.getEmpresaId().equals(other.getEmpresaId()))) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -228,7 +228,7 @@ public class Parada implements Serializable {
|
|||
@Override
|
||||
public int hashCode() {
|
||||
int hash = 0;
|
||||
hash += (paradaId != null ? paradaId.hashCode() : 0);
|
||||
hash += (getParadaId() != null ? getParadaId().hashCode() : 0);
|
||||
return hash;
|
||||
}
|
||||
|
||||
|
@ -238,7 +238,7 @@ public class Parada implements Serializable {
|
|||
return false;
|
||||
}
|
||||
Parada other = (Parada) object;
|
||||
if ((this.paradaId == null && other.paradaId != null) || (this.paradaId != null && !this.paradaId.equals(other.paradaId))) {
|
||||
if ((this.getParadaId() == null && other.getParadaId() != null) || (this.getParadaId() != null && !this.getParadaId().equals(other.getParadaId()))) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue