Skip to content

Refactor with String#isEmpty()#1335

Closed
stonio wants to merge 1 commit intospring-projects:masterfrom
stonio:patch-4
Closed

Refactor with String#isEmpty()#1335
stonio wants to merge 1 commit intospring-projects:masterfrom
stonio:patch-4

Conversation

@stonio
Copy link
Contributor

@stonio stonio commented Feb 21, 2017

Polish few classes with .isEmpty() instead of .length() == 0.

@snicoll
Copy link
Member

snicoll commented Feb 21, 2017

@stonio thanks for the PR, we prefer a single commit rather than small atomic commits. Can you please squash all that and push force your branch?

@stonio
Copy link
Contributor Author

stonio commented Feb 22, 2017

@snicoll All my commits squashed into a single commit.
May be backported to 4.3.x branch.

Copy link

@lqjack lqjack left a comment

Choose a reason for hiding this comment

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

does the String (empty()) better then String (.length())?

@snicoll snicoll self-assigned this Feb 22, 2017
@snicoll snicoll closed this in 7d062df Feb 22, 2017
snicoll added a commit that referenced this pull request Feb 22, 2017
* pr/1335:
  Use String#isEmpty()
@snicoll
Copy link
Member

snicoll commented Feb 22, 2017

Thanks, we'll backport it to 4.3.x later today.

@stonio stonio deleted the patch-4 branch February 22, 2017 11:25
jhoeller pushed a commit that referenced this pull request Feb 22, 2017
Closes gh-1335
(cherry picked from commit 7d062df)
XLWW pushed a commit to XLWW/spring-framework that referenced this pull request Apr 29, 2018
Closes spring-projectsgh-1335
(cherry picked from commit 7d062df)
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.

3 participants