Skip to content

Conversation

@reschke
Copy link
Contributor

@reschke reschke commented Jul 3, 2025

No description provided.

@reschke reschke self-assigned this Jul 3, 2025
@reschke reschke marked this pull request as draft July 3, 2025 14:17
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@reschke reschke changed the title JCR-5140: Improve support for generating namespace prefixes - basic code JCR-5140: Improve support for generating namespace prefixes Sep 25, 2025
@reschke reschke marked this pull request as ready for review September 25, 2025 14:32
prefix = prefix.replaceAll("[\\/:]+", "-");

// strip trailing replacement character
if (prefix.endsWith("-")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

while instead of if?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was already taken care of by the regexp, but more clarity and more test coverage do not hurt

@reschke reschke requested a review from mbaedke September 29, 2025 12:10
@sonarqubecloud
Copy link

@reschke reschke merged commit 542d9af into trunk Sep 30, 2025
4 checks passed
@reschke reschke deleted the JCR-5140 branch September 30, 2025 14:20
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