]> source.dussan.org Git - jgit.git/commit
[spotbugs] Fix potential NPE in FS#write 70/173370/5
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 4 Dec 2020 08:40:47 +0000 (09:40 +0100)
committerChristian Halstrick <christian.halstrick@sap.com>
Thu, 17 Dec 2020 17:42:00 +0000 (18:42 +0100)
commit23bc9dc71dac196b9db6154a93d21d68c0a0bb06
treeb19a8c8ec9edf86c44b57e49deb23b67aee96978
parent1ed6353962296a3f70d6673d68dc4784f2766c4e
[spotbugs] Fix potential NPE in FS#write

Path#getParent can return null.

Change-Id: I01f13ac426dda4c007cc5caab546a0c9be62ce76
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java