jgit/org.eclipse.jgit
David Pursehouse 0e5b9f8a39 CloneCommand: Refactor listing of files in deleteChildren
File.listFiles() returns null if the given File does not represent a
directory, so we can just test for null instead of making a separate
call to FS.DETECTED.isDirectory()

This also avoids a false-positive error from SpotBugs which claims
that there is a potential null-pointer exception on dereferencing the
result of Files.listFiles().

Change-Id: I18e09e391011db997470f5a09d8e38bb604c0213
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2017-12-08 17:16:34 +09:00
..
.settings Silence API warnings for reintroduced ResolveMerger#processEntry 2017-12-03 13:58:34 +01:00
META-INF Prepare 4.9.2-SNAPSHOT builds 2017-12-03 14:17:43 +01:00
findBugs [findBugs] Silence warning about Transport initialization 2012-09-14 00:01:47 +02:00
resources/org/eclipse/jgit Merge branch 'stable-4.9' 2017-11-11 01:01:03 +01:00
src/org/eclipse/jgit CloneCommand: Refactor listing of files in deleteChildren 2017-12-08 17:16:34 +09:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.fbprefs
.gitignore
.project
BUILD Bazel: Restrict src globs to Java source files 2017-04-13 14:14:55 +09:00
about.html SHA-1: collision detection support 2017-02-28 16:38:43 -08:00
build.properties
plugin.properties Remove incubation marker 2011-05-31 22:53:53 +02:00
pom.xml Prepare 4.9.2-SNAPSHOT builds 2017-12-03 14:17:43 +01:00