fixes bug #7603
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@57123 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
bac1828169
commit
b94d07768e
|
@ -425,7 +425,7 @@ public class Ruta implements Serializable, Comparable<Ruta> {
|
|||
@Override
|
||||
public int hashCode() {
|
||||
int hash = 0;
|
||||
hash += (rutaId != null ? rutaId.hashCode() : 0);
|
||||
hash += (getRutaId() != null ? getRutaId().hashCode() : 0);
|
||||
return hash;
|
||||
}
|
||||
|
||||
|
@ -435,7 +435,7 @@ public class Ruta implements Serializable, Comparable<Ruta> {
|
|||
return false;
|
||||
}
|
||||
Ruta other = (Ruta) object;
|
||||
if ((this.rutaId == null && other.rutaId != null) || (this.rutaId != null && !this.rutaId.equals(other.rutaId))) {
|
||||
if ((this.getRutaId() == null && other.getRutaId() != null) || (this.getRutaId() != null && !this.getRutaId().equals(other.getRutaId()))) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue