[midPoint-git] [Evolveum/prism] ca024e: Remove default findLocalItemDefinition impl

mederly noreply at github.com
Fri Jan 17 11:00:19 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/prism
  Commit: ca024ec6365cafeb7edd0645d49cd9b165f3404c
      https://github.com/Evolveum/prism/commit/ca024ec6365cafeb7edd0645d49cd9b165f3404c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/LocalItemDefinitionStore.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ComplexTypeDefinitionImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/DummyPrismObjectDefinition.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerDefinitionImpl.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java

  Log Message:
  -----------
  Remove default findLocalItemDefinition impl

The default implementation was slow, of the iterative style: repeated
isValidFor testing. It is better to call the slow code explicitly than
to engage it unknowingly just because it's the default implementation.


  Commit: 8f37f4fb2783555e73405e528d2820dfa568f5a6
      https://github.com/Evolveum/prism/commit/8f37f4fb2783555e73405e528d2820dfa568f5a6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/LocalItemDefinitionStore.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ComplexTypeDefinitionImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/DummyPrismObjectDefinition.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerDefinitionImpl.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/tmp/iterative-definitions-lookups-gone'


Compare: https://github.com/Evolveum/prism/compare/10622acc9424...8f37f4fb2783

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