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: [email protected]
For additional commands, e-mail: [email protected]