Skip to content

Commit

Permalink
Fixing test failures (how we could function with this so far???)
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Nov 23, 2016
1 parent 539c5c9 commit 8ce8a0f
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -29,6 +29,7 @@
import com.evolveum.midpoint.util.exception.SystemException;

import java.io.Serializable;
import java.util.Objects;

import javax.xml.namespace.QName;

Expand Down Expand Up @@ -451,7 +452,7 @@ public boolean representsSameValue(PrismValue other, boolean lax) {

public boolean representsSameValue(PrismReferenceValue other) {
if (this.getOid() != null && other.getOid() != null) {
return this.getOid().equals(other.getOid());
return this.getOid().equals(other.getOid()) && Objects.equals(this.getRelation(), other.getRelation());
}
return false;
}
Expand Down

0 comments on commit 8ce8a0f

Please sign in to comment.