[midPoint-git] [Evolveum/prism] 96ec21: Document potentially confusing behavior of item delta

Andrej noreply at github.com
Thu Feb 26 15:32:11 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/prism
  Commit: 96ec21eed50b28ba55952fe3aaa1ddd37b3cd90f
      https://github.com/Evolveum/prism/commit/96ec21eed50b28ba55952fe3aaa1ddd37b3cd90f
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-02-26 (Thu, 26 Feb 2026)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/delta/ItemDelta.java

  Log Message:
  -----------
  Document potentially confusing behavior of item delta

**What**

As stated in the JavaDoc, the "replace" delta (`isReplace() == true`),
may represent also the "add" delta in some cases.

**Why**

Even though it may be semantically correct, it may confuse people (as it
confused me). With this JavaDoc, this behavior will hopefully be more
obvious.



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/prism/settings/notifications


More information about the midPoint-svn mailing list