Update inconsistency

If it is inconsistent, update the new owner with the old owner
This commit is contained in:
rajee10 2018-04-02 23:30:57 -04:00 committed by GitHub
parent fc12751b2c
commit ef27f2edb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,6 +78,7 @@ public class NewOwnerStore {
if(iterator.hasNext()) {
Owner oldOwner = iterator.next();
if(id != oldOwner.getId() || !ownerStore.get(id).equals(oldOwner)) {
ownerStore.put(id, convertToStaticOwner(oldOwner);
inconsistencies++;
violation(id, StaticOwner.convertToStaticOwner(oldOwner), ownerStore.get(id));
}