Skip to content

chore: enforce consistency between variable getters and setters#1640

Merged
triceo merged 1 commit into
TimefoldAI:mainfrom
triceo:access
Jun 10, 2025
Merged

chore: enforce consistency between variable getters and setters#1640
triceo merged 1 commit into
TimefoldAI:mainfrom
triceo:access

Conversation

@triceo

@triceo triceo commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator

If a getter exists, a setter has to.
If a setter exists, a getter has to.
Both getter and setter need to have the same visibility.

@zepfred

zepfred commented Jun 10, 2025

Copy link
Copy Markdown
Contributor

@triceo it seems to me the changes do not completely match the PR description. I found no validation for scenarios where the getter or setter methods are missing.

If a getter exists, a setter has to.
If a setter exists, a getter has to.
Both getter and setter need to have the same visibility.
@sonarqubecloud

Copy link
Copy Markdown

@triceo triceo merged commit 7ff611d into TimefoldAI:main Jun 10, 2025
43 checks passed
@triceo triceo deleted the access branch June 10, 2025 11:25
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.

2 participants