]> source.dussan.org Git - jgit.git/commit
[spotbugs] Fix potential NPE in GcPruneNonReferencedTest 65/173365/4
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 3 Dec 2020 00:49:18 +0000 (01:49 +0100)
committerChristian Halstrick <christian.halstrick@sap.com>
Thu, 17 Dec 2020 17:41:52 +0000 (18:41 +0100)
commit3705ac58391f979d2a7b6689dd96d6531e975c53
tree75ff8b22cb3a28b5395d7397be7e6c735bf9733a
parenta2bb540f2998689ae9c7f894ca5d74c6c55f9127
[spotbugs] Fix potential NPE in GcPruneNonReferencedTest

File#listFiles can return null, assert it is not null to fix the
warning.

Change-Id: I28fc668fee760d39965e6e039003ac9f85fd461b
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/GcPruneNonReferencedTest.java