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

Module configuration editor does not open #560

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Module configuration editor does not open #560

merged 1 commit into from
Sep 11, 2023

Conversation

Bananeweizen
Copy link
Collaborator

@Bananeweizen Bananeweizen commented Sep 11, 2023

This partially reverts 3e27bdc. Boolean expressions with side effects MUST NOT be modified in such a way that short circuit evaluation will remove the side effect. That's a ground rule for all kinds of code optimizations and transformations.

I had to disable one of the sevntu rules, because it's wrong. You cannot move methods to the right of boolean expressions, if those methods have a side effect that changes any global state of the application.

Fixes #559.

Raised sevntu-checkstyle/sevntu.checkstyle#1025

This partially reverts 3e27bdc. Boolean
expressions with side effects MUST NOT be modified in such a way that
short circuit evaluation will remove the side effect. That's a ground
rule for all kinds of code optimizations and transformations.
@Calixte Calixte merged commit da3ae9c into master Sep 11, 2023
@Calixte Calixte deleted the module_editor branch September 11, 2023 22:06
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.

Button for opening module editor does not work
2 participants