Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFCORE-6930 Remove usage of deprecated AbstractWriteAttributeHandler constructors in testsuite #6109

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

pferraro
Copy link
Contributor

@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Jul 19, 2024
protected BasicAttributeWriteHandler() {
super(List.of());
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pferraro This class seems wrong; it seems to be adding a new call to a deprecated c'tor instead of removing the existing one.

Copy link
Contributor Author

@pferraro pferraro Jul 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm - not sure what I was thinking here. Will fix.

Now I remember...
This operation handler is used for transformer tests. The purpose of the additional no-arg constructor is to migrate the calling code.
However, the no-arg super constructor does not exist on the legacy version of AbstractWriteAttributeHandler, hence the need to delegate to a super constructor that does exist.

@bstansberry bstansberry added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Jul 22, 2024
@bstansberry bstansberry merged commit e0d411b into wildfly:main Jul 22, 2024
12 checks passed
@bstansberry
Copy link
Contributor

Thanks @pferraro

@pferraro pferraro deleted the WFCORE-6930 branch July 24, 2024 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants