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

Extract repeated string literals in SimpleJpaRepository to constants #3698

Closed
wants to merge 1 commit into from

Conversation

dukbong
Copy link
Contributor

@dukbong dukbong commented Dec 2, 2024

This commit replaces repeated string literals with constants, which is expected to improve the maintainability of the code.

In addition to this commit, I was considering committing a change to overload the getQueryString method and apply lazy evaluation. However, I'm unsure if this change would actually provide any significant benefits. I would like to know your thoughts on this approach.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 2, 2024
@mp911de mp911de self-assigned this Dec 2, 2024
@mp911de mp911de changed the title Refactor SimpleJpaRepository by Extracting Repeated String Literals to Constants Extract repeated string literals in SimpleJpaRepository to constants Dec 10, 2024
@mp911de mp911de added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 10, 2024
@mp911de mp911de added this to the 3.3.7 (2024.0.7) milestone Dec 10, 2024
@mp911de mp911de closed this in 2812496 Dec 10, 2024
mp911de added a commit that referenced this pull request Dec 10, 2024
Extract assertion message constants from QuerydslJpaPredicateExecutor.

See #3698
mp911de added a commit that referenced this pull request Dec 10, 2024
Extract assertion message constants from QuerydslJpaPredicateExecutor.

See #3698
mp911de added a commit that referenced this pull request Dec 10, 2024
Extract assertion message constants from QuerydslJpaPredicateExecutor.

See #3698
@mp911de
Copy link
Member

mp911de commented Dec 10, 2024

Thank you for your contribution. That's merged, polished, and backported now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants