Skip to content

Properly Register TransformMetaChangeListeners#6856

Merged
hansva merged 1 commit intoapache:mainfrom
jdkinaxis:feature/fix-listeners
Mar 24, 2026
Merged

Properly Register TransformMetaChangeListeners#6856
hansva merged 1 commit intoapache:mainfrom
jdkinaxis:feature/fix-listeners

Conversation

@jdkinaxis
Copy link
Copy Markdown
Contributor

Fixes #6855

Changes:
in addOrReplaceTransform: properly set the index to the end of the list instead of 0 after the list.add.

in addTransformChangeListener: remove convoluted removal logic, use list.set to replace instead of list.add, properly register the listener in an else block.

in removeTransformChangeListener: remove convoluted removal logic.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

@hansva hansva merged commit 150edeb into apache:main Mar 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: TransformMetaChangeListeners not registering properly

2 participants