diff options
author | Michael Keppler <Michael.Keppler@gmx.de> | 2019-03-09 12:37:10 +0100 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2019-03-09 19:54:29 -0500 |
commit | 391c7a25fa8d247f9f6087f9f19ee330540ad602 (patch) | |
tree | 652633eeb6cda7ff357d5f6b6dce2d64f61d2907 /org.eclipse.jgit.test/tst/org/eclipse | |
parent | 0295ee1164bcd3b1741bd2a5142d2e40a49ca77a (diff) | |
download | jgit-391c7a25fa8d247f9f6087f9f19ee330540ad602.tar.gz jgit-391c7a25fa8d247f9f6087f9f19ee330540ad602.zip |
Avoid NPE in ObjectId.isId()
That method can easily be invoked with a null argument (e.g.
isId(repo.getFullBranch()), therefore it should handle null arguments.
Change was suggested in https://git.eclipse.org/r/#/c/137918/, which
tried to fix the same in egit only.
Bug:544982
Change-Id: I32d1df6e9b2946ab324eda7008721159019316b3
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse')
0 files changed, 0 insertions, 0 deletions