ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reudismam <...@git.apache.org>
Subject [GitHub] ant pull request #56: Use equals method of a string literal to prevent NPE a...
Date Thu, 01 Feb 2018 17:33:10 GMT
GitHub user reudismam opened a pull request:

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

    Use equals method of a string literal to prevent NPE and isEmpty() me…

    …thod instead of comparing a String object with an empty string.
    
    This change has already been done for some locations in the commit:
    https://github.com/apache/ant/commit/b7d1e9bde44cb8e5233d6e70bb96e14cbb2f3e2d

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

    $ git pull https://github.com/reudismam/ant equals

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

    https://github.com/apache/ant/pull/56.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 #56
    
----
commit debf404d170cfd771a517e9c5b408bc9735e2f70
Author: reudismam <reudismam@...>
Date:   2018-02-01T17:03:19Z

    Use equals method of a string literal to prevent NPE and isEmpty() method instead of comparing
a String object with an empty string.

----


---

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


Mime
View raw message