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

Capitalize strings with the correctly implementation [SPR-16827] #21367

Closed
spring-projects-issues opened this issue May 16, 2018 · 1 comment
Closed
Labels
status: declined

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented May 16, 2018

Allan Garcez opened SPR-16827 and commented

Hey everyone, 

I am a brazilian student and decide to use Spring as my main framework to developer my API's, so I find an inconsistency in StringUtils.capitalize. This method only capitalize the first letter of first word in string, when the "correctly way" is capitalize all first letter in all words (like in CSS text-transform property). So, I decide to code a solution for this, and add methods to my class sugestion. 

 

All unit tests in project are aprove and I hope you will accept and implement this class to the Spring ecosystem 


Reference URL: https://github.com/vandalvnl/capitalize-utils

@spring-projects-issues spring-projects-issues added status: waiting-for-triage type: enhancement and removed type: enhancement labels Jan 11, 2019
@poutsma
Copy link
Contributor

@poutsma poutsma commented Nov 19, 2019

The goal of StringUtils is to provide string methods for internal use within the framework. And for our purposes, the current way capitalize work suffices.

@poutsma poutsma closed this as completed Nov 19, 2019
@poutsma poutsma added status: declined and removed status: waiting-for-triage labels Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined
Projects
None yet
Development

No branches or pull requests

2 participants