diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2020-12-04 11:21:08 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-12-22 10:52:59 +0100 |
commit | 0132666d5aa668455a2a45d82bc1f62bd1365998 (patch) | |
tree | 8c6a922461465255e37ca857929c078f984d4695 /org.eclipse.jgit.junit.ssh/src | |
parent | fa0e77e8f92d0710caf75085af1e6fb50b7d942d (diff) | |
download | jgit-0132666d5aa668455a2a45d82bc1f62bd1365998.tar.gz jgit-0132666d5aa668455a2a45d82bc1f62bd1365998.zip |
[spotbugs] Fix FileReftableStack#equals to check for null
This fixes spotbugs warning NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT.
This implementation violated the contract defined by
java.lang.Object.equals() because it did not check for null being passed
as the argument. All equals() methods should return false if passed a
null value.
Change-Id: I607f6979613d390aae2f3546b587f63133d6d73c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.junit.ssh/src')
0 files changed, 0 insertions, 0 deletions