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

review: chore: deprecate public CtTypeReference fields in TypeFactory #5646

Merged
merged 4 commits into from
Feb 11, 2024

Conversation

SirYwell
Copy link
Collaborator

Direct access allows mutating the base object, which should be prevented.

@SirYwell SirYwell changed the title chore: deprecate public CtTypeReference fields in TypeFactory review: chore: deprecate public CtTypeReference fields in TypeFactory Feb 1, 2024
@SirYwell SirYwell marked this pull request as ready for review February 1, 2024 21:14
Copy link
Collaborator

@I-Al-Istannen I-Al-Istannen left a comment

Choose a reason for hiding this comment

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

Could you replace the factory methods with the actual value instead of cloning the deprecated constants?

@I-Al-Istannen I-Al-Istannen force-pushed the chore/deprecate-factory-constants branch from 3388617 to ef1b931 Compare February 9, 2024 21:03
@I-Al-Istannen
Copy link
Collaborator

If you merge #5662 and rebase ontop of the new java17 branch, the CI should be green :)

@MartinWitt MartinWitt merged commit 53eb02f into INRIA:java17 Feb 11, 2024
11 checks passed
MartinWitt added a commit that referenced this pull request Feb 11, 2024
@SirYwell SirYwell deleted the chore/deprecate-factory-constants branch February 12, 2024 15:39
I-Al-Istannen added a commit that referenced this pull request Apr 3, 2024
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.

3 participants