Skip to content

Conversation

@csviri
Copy link
Collaborator

@csviri csviri commented Jan 8, 2025

Signed-off-by: Attila Mészáros [email protected]

}
}
static boolean getBooleanFromSystemPropsOrDefault(String propertyName,
boolean defaultValue) {var property=System.getProperty(propertyName);if(property==null){return defaultValue;}else{property=property.trim().toLowerCase();return switch(property){case"true"->true;case"false"->false;default->defaultValue;};}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, that doesn't seem right

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

wow, interesting, not sure, will take a look a look later, this might be a bug in spotless

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

even 2.44.2 is not fixing it we might want just ignore this for now, and create an issue for spotless?!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, there seems something wrong with 2.44

Signed-off-by: Attila Mészáros <[email protected]>
@csviri csviri changed the title chore: bump spotless 2.44.1 and format code chore: bump spotless 2.44.2 and format code Jan 15, 2025
@csviri csviri requested a review from metacosm January 15, 2025 13:22
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 26, 2025
@openshift-merge-robot
Copy link

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@csviri csviri closed this May 27, 2025
@csviri csviri deleted the spotless-version branch May 27, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants