summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2020-12-03 02:04:36 +0100
committerChristian Halstrick <christian.halstrick@sap.com>2020-12-17 18:42:00 +0100
commit90b046e7abcfe56f072d0cf8733ffb576d2997af (patch)
treed298756b411d39e6be6cc620d2df3e9dc22f6598 /org.eclipse.jgit.test/tst
parentb1d8e8642f1143edc1141f1ce00e39a5b95f0b6d (diff)
downloadjgit-90b046e7abcfe56f072d0cf8733ffb576d2997af.tar.gz
jgit-90b046e7abcfe56f072d0cf8733ffb576d2997af.zip
[spotbugs] Fix potential NPE in WorkingTreeIterator#isModified
File#list can return null. Fix the potential NPE by using Files#list which is also faster since it retrieves directory entries lazily while File#list retrieves them eagerly. Change-Id: Idf4bda398861c647587e357326b8bc8b587a2584 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test/tst')
0 files changed, 0 insertions, 0 deletions