Skip to content

Refactor Property*Key classes to records #1055

@kthoms

Description

@kthoms

What needs to be done?

The classes

  • org.operaton.bpm.engine.impl.core.model.PropertyKey
  • org.operaton.bpm.engine.impl.core.model.PropertyListKey
  • org.operaton.bpm.engine.impl.core.model.PropertyMapKey

seem to be convertible to records without loose of functionality or breaking any contract.

Discuss if the assumption is true and if so, refactor. Keep the license statement.

The type parameter seem obsolete in these classes, as detected by Sonar.

Bonus: Identify other classes that have record-like semantics.

Contribution

If you want to work on this task, just state it in a comment. You don't have to wait until the task is assigned to you.
First come, first serve! Avoid starting work on this task when someone else has already claimed it.

Are you a first-time contributor? We are happy to see you here!
Just state in a comment of your PR "I confirm that my contribution and following ones comply with the Apache License 2.0
and the Code of Conduct"

Contributors will be added to the release notes of the next release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions