wilian 2016-06-20 19:51:46 +00:00
parent bac1828169
commit b94d07768e
1 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ public class Ruta implements Serializable, Comparable<Ruta> {
@Override @Override
public int hashCode() { public int hashCode() {
int hash = 0; int hash = 0;
hash += (rutaId != null ? rutaId.hashCode() : 0); hash += (getRutaId() != null ? getRutaId().hashCode() : 0);
return hash; return hash;
} }
@ -435,7 +435,7 @@ public class Ruta implements Serializable, Comparable<Ruta> {
return false; return false;
} }
Ruta other = (Ruta) object; 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 false;
} }
return true; return true;