You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/08 00:17:00 UTC
[jira] [Commented] (LANG-1410) StringsUtil.isBlank check null first
[ https://issues.apache.org/jira/browse/LANG-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16713434#comment-16713434 ]
ASF GitHub Bot commented on LANG-1410:
--------------------------------------
GitHub user rosti-il opened a pull request:
https://github.com/apache/commons-lang/pull/392
LANG-1410: eliminate one unnecessary local int variable and add more tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rosti-il/commons-lang LANG-1410
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/392.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #392
----
commit 85ad50c5ed73d257c465bdbbd3da792768db3993
Author: Rostislav Krasny <ro...@...>
Date: 2018-12-08T00:14:35Z
LANG-1410: eliminate one unnecessary local int variable and add more tests
----
> StringsUtil.isBlank check null first
> ------------------------------------
>
> Key: LANG-1410
> URL: https://issues.apache.org/jira/browse/LANG-1410
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Reporter: Yifan Guo
> Priority: Minor
>
> StringsUtil.isBlank should check null for cs first instead of declaring int strLen first.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)