Skip to content

Update CasedString for efficency#626

Open
Claudenw wants to merge 11 commits intomasterfrom
claudenw/updateCasedString
Open

Update CasedString for efficency#626
Claudenw wants to merge 11 commits intomasterfrom
claudenw/updateCasedString

Conversation

@Claudenw
Copy link
Contributor

@Claudenw Claudenw commented Mar 8, 2026

Switched to cased string preserving the parts from the parsing

@Claudenw Claudenw requested a review from ottlinger March 8, 2026 09:13
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 8, 2026

@Claudenw Claudenw self-assigned this Mar 9, 2026
Copy link
Contributor

@ottlinger ottlinger left a comment

Choose a reason for hiding this comment

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

LGTM - sonar warnings can be applied apart from my naiive concurrency question.

Thanks

/** The case of the string as parsed */
private final StringCase stringCase;
/** A joiner used for the pascal and camel cases. */
private static final Function<String[], String> PASCAL_JOINER = strings -> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is concurrency an issue here as we are using StringBuilder vs. StringBuffer?
Just wondering while reading through:
https://stackoverflow.com/questions/2971315/string-stringbuffer-and-stringbuilder

If not just ignore my comment ;)

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