[midPoint-git] [Evolveum/prism] b10132: Internalize ItemNames without prefix

Tony Tkáčik noreply at github.com
Tue May 21 13:46:12 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/prism
  Commit: b101328ac0458eab3b1b6b7159cd4ae5188730cf
      https://github.com/Evolveum/prism/commit/b101328ac0458eab3b1b6b7159cd4ae5188730cf
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismConstants.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/path/ItemName.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/polystring/PolyString.java
    M infra/prism-codegen/src/main/java/com/evolveum/prism/codegen/impl/ContractGenerator.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ItemDefinitionImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/SchemaXsomParser.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/XNodeDefinition.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/PrismInternalTestUtil.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestExtraSchema.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/AccountType.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/ActivationType.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/AssignmentType.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/ObjectType.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/ResourceType.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/UserType.java

  Log Message:
  -----------
  Internalize ItemNames without prefix

Introduced subclass which represents ItemName without prefix specified.
Instances of subclass are internalized, so in theory all hash map searches
should use same instance, which can speed things up.



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