Eli Mesika has posted comments on this change.

Change subject: core: using JPA for engine backup awareness
......................................................................


Patch Set 9:

(1 comment)

https://gerrit.ovirt.org/#/c/40091/9/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/EngineBackupLog.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/EngineBackupLog.java:

Line 90:         if (!(obj instanceof EngineBackupLog)) {
Line 91:             return false;
Line 92:         }
Line 93:         EngineBackupLog other = (EngineBackupLog) obj;
Line 94:         return (Objects.equals(dbName, other.dbName)
> When we are moving to JPA, IMHO we should fix our entities' equals() and ha
I have some refactoring changes adding more fields to the backup log entity , 
so I did that already there and submit this one as is 
Moti agreed to that as well
Line 95:                 && Objects.equals(doneAt, other.doneAt)
Line 96:                 && this.passed == other.passed
Line 97:                 && Objects.equals(outputMessage, other.outputMessage));
Line 98:     }


-- 
To view, visit https://gerrit.ovirt.org/40091
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia0aa9c4d0c8c0a5f7b40a022d7670f30c5fd5b77
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Liran Zelkha <liran.zel...@gmail.com>
Gerrit-Reviewer: Liran Zelkha <lzel...@redhat.com>
Gerrit-Reviewer: Martin Peřina <mper...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzasp...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to