[midPoint-git] [Evolveum/prism] d6ecff: MID-9658: For boolean also generate get form of ge...

Tony Tkáčik noreply at github.com
Mon Apr 29 15:31:43 CEST 2024


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/prism
  Commit: d6ecffe769d112501b08c69d4f5a8c0787fb24be
      https://github.com/Evolveum/prism/commit/d6ecffe769d112501b08c69d4f5a8c0787fb24be
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-04-29 (Mon, 29 Apr 2024)

  Changed paths:
    M infra/prism-codegen/src/main/java/com/evolveum/prism/codegen/binding/ItemBinding.java
    M infra/prism-codegen/src/main/java/com/evolveum/prism/codegen/impl/StructuredGenerator.java

  Log Message:
  -----------
  MID-9658: For boolean also generate get form of getter

Our code model always used form `is` for nullable boolean getters,
Groovy used to mapp this to properties.
But Groovy 4 does not map nullable `is` getters to to properties consistently anymore.

Fix is to generate also secondary getter for boolean in form `get`
which is consistently mapped to Groovy property.



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