[midPoint-git] [Evolveum/midpoint] c9dc98: Remove unnecessary shortDump() call

mederly noreply at github.com
Wed Mar 19 12:45:27 CET 2025


  Branch: refs/heads/feature/less-cloning
  Home:   https://github.com/Evolveum/midpoint
  Commit: c9dc9869be4f5a2006584b1d61894c087d9b1378
      https://github.com/Evolveum/midpoint/commit/c9dc9869be4f5a2006584b1d61894c087d9b1378
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java

  Log Message:
  -----------
  Remove unnecessary shortDump() call


  Commit: 3701e3abfa522be7e59ae6b79fdb93f1d0d82a8d
      https://github.com/Evolveum/midpoint/commit/3701e3abfa522be7e59ae6b79fdb93f1d0d82a8d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/AbstractSearchExpressionEvaluatorCache.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/AssociationSearchExpressionEvaluatorCache.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/QueryResult.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/FunctionLibrary.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/AbstractValuePolicyOriginResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelObjectResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/RawChangesExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullInboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/FocusLoadOperation.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceExpansionOperation.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheUpdater.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachedOpExecution.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpHandler.java
    M repo/repo-cache/src/test/java/com/evolveum/midpoint/repo/cache/TestRepositoryCache.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/SystemObjectCache.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/NodeRegistrar.java

  Log Message:
  -----------
  Relax freezing objects when R/O option is used

Recently, we've introduced a behavior that always froze objects being
returned from "get" and "search" repository operations if read-only
option is used.

This may be safer, but generally it is a waste of processing time.

This commit returns to the original semantics of the read-only option:
the repository cache may return either mutable or immutable version
of the object. (The latter case occurs if the object is being put or
is retrieved from the cache.)

Some extra "freeze" calls were added at places where the returned
objects are to be shared.


Compare: https://github.com/Evolveum/midpoint/compare/40b1ede6dc9f...3701e3abfa52

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


More information about the midPoint-svn mailing list