[midPoint-git] [Evolveum/midpoint] ae4006: Fix equals-hashcode consistency (MID-5851)

mederly noreply at github.com
Wed Oct 16 16:05:10 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: ae400692a7d816a4e247a10c8ee795de9946bb4a
      https://github.com/Evolveum/midpoint/commit/ae400692a7d816a4e247a10c8ee795de9946bb4a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-10-16 (Wed, 16 Oct 2019)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Item.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/equivalence/ParameterizedEquivalenceStrategy.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ItemImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/item/DummyContainerImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/item/DummyPropertyImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/item/DummyReferenceImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainerDefinitionImpl.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestDiffEquals.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperAsyncUpdate.java

  Log Message:
  -----------
  Fix equals-hashcode consistency (MID-5851)

We no longer include runtime-defined items in hash computation. This
might increase the number of hash collisions but should significantly
improve equals-hashcode consistency. This solution assumes the presence
of definitions, though.

Also eliminated some of IDE warnings in prism classes.


  Commit: 0f0714e475e23585173c31270433447eec58d935
      https://github.com/Evolveum/midpoint/commit/0f0714e475e23585173c31270433447eec58d935
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-10-16 (Wed, 16 Oct 2019)

  Changed paths:
    M build-system/pom.xml
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/component/PolyStringEditorPanel.java
    M icf-connectors/dummy-resource/src/main/java/com/evolveum/icf/dummy/resource/DummyObject.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStruct.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestUuid.java
    M testing/schrodingertest/pom.xml
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/UserTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDependencyRename.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestEntertainment.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestMachineIntelligence.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestMapleLeaf.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestNullAttribute.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestOrgSync.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestReconNullValue.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestRetirement.java
    R testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestTrafo.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUniversity.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestVillage.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/AbstractLdapTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/TestLdapDependency.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/TestLdapReconPerformance.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/TestLdapVirtualGroup.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/hierarchy/AbstractLdapHierarchyTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/perf/TestImport.java
    M testing/story/src/test/resources/mapleLeaf/resource-opendj.xml
    R testing/story/src/test/resources/trafo/resource-dummy-ad.xml
    R testing/story/src/test/resources/trafo/resource-dummy-mail.xml
    R testing/story/src/test/resources/trafo/role-employee.xml
    R testing/story/src/test/resources/trafo/user-angelica.xml
    R testing/story/src/test/resources/trafo/user-smith-111.xml
    R testing/story/src/test/resources/trafo/user-smith-222.xml
    M testing/story/testng-integration.xml
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/PrismForm.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/LoginPage.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/4c71016648da...0f0714e475e2


More information about the midPoint-svn mailing list