ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BruceKuiLiu <...@git.apache.org>
Subject [GitHub] ant pull request #46: Remove the redundant nullcheck of non-null values.
Date Sat, 14 Oct 2017 16:02:25 GMT
GitHub user BruceKuiLiu opened a pull request:

    https://github.com/apache/ant/pull/46

    Remove the redundant nullcheck of non-null values.

    
    These statements contain redundant check of known non-null values against the constant
null.
    http://findbugs.sourceforge.net/bugDescriptions.html#RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/BruceKuiLiu/ant master7

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ant/pull/46.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 #46
    
----
commit 81c97dbbc5350d39ed349662cb19b621aee55e34
Author: Kui LIU <brucekuiliu@gmail.com>
Date:   2017-10-14T15:20:29Z

    Remove the redundant nullcheck of value known to be non-null.
    
    This statement contains a redundant check of a known non-null s against the constant null.
    http://findbugs.sourceforge.net/bugDescriptions.html#RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE

commit c1172b574a7b5a3832bd317b4e76e49e1303b78c
Author: Kui LIU <brucekuiliu@gmail.com>
Date:   2017-10-14T15:24:54Z

    Remove the redundant nullcheck statements of non-null values.
    
    These statements contain redundant check of known non-null values against the constant
null.
    http://findbugs.sourceforge.net/bugDescriptions.html#RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message