Hi!

I create a new static method on SpringUtils

Sometimes I need to compare Strings or their size in a condition and for that I create a useful in the project itself for this, but I saw that this is very common among the projects that I passed or know, so I decided to create this method so that it is more accessible to everyone and reuse the same code.

I love the spring, congrats to the team!

Comment From: pivotal-issuemaster

@RhianLopes Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@RhianLopes Thank you for signing the Contributor License Agreement!

Comment From: sbrannen

Thanks for the PR!

Please note, however, that the StringUtils Javadoc states the following.

Mainly for internal use within the framework; consider Apache's Commons Lang for a more comprehensive suite of String utilities.

In light of that and the fact that the proposed onlyNumbers() method would not be used by Spring Framework itself, I am closing this PR.