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

Introduce StringUtils.truncate() #30290

Closed
sbrannen opened this issue Apr 5, 2023 · 0 comments
Closed

Introduce StringUtils.truncate() #30290

sbrannen opened this issue Apr 5, 2023 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

sbrannen commented Apr 5, 2023

StringUtils.truncate() will serve as central, consistent way for truncating strings.

To be used immediately in LogFormatUtils and ObjectUtils.

Related Issues

@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement for: backport-to-5.3.x labels Apr 5, 2023
@sbrannen sbrannen self-assigned this Apr 5, 2023
@github-actions github-actions bot added status: backported An issue that has been backported to maintenance branches and removed for: backport-to-5.3.x labels Apr 5, 2023
@sbrannen sbrannen changed the title Introduces StringUtils.truncate() Introduce StringUtils.truncate() Apr 5, 2023
@sbrannen sbrannen added this to the 6.0.8 milestone Apr 5, 2023
sbrannen added a commit to sbrannen/spring-framework that referenced this issue Apr 5, 2023
sbrannen added a commit that referenced this issue Apr 5, 2023
StringUtils.truncate() serves as central, consistent way for truncating
strings used in log messages and exception failure messages, for
immediate use in LogFormatUtils and ObjectUtils.

See gh-30286
Closes gh-30290
sbrannen added a commit to sbrannen/spring-framework that referenced this issue Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant