Do not dereference Path.getFileName() without null check
commitfc9edd612cefd586cd89f0e36a8a20277b8ee3ee
authorAndrey Loskutov <loskutov@gmx.de>
Mon, 2 Jan 2017 17:52:32 +0000 (2 18:52 +0100)
committerAndrey Loskutov <loskutov@gmx.de>
Mon, 2 Jan 2017 17:53:55 +0000 (2 13:53 -0400)
treeb445042a1b569fe229f9553272eff8a61e2b93d1
parent1181530b5989456e33bd1e68eda7f2e6477c5466
Do not dereference Path.getFileName() without null check

The API can return null for devices on windows.

Bug: 509827
Change-Id: I86c1a34c71d2c9fce7c80c7be0757ed715ad0371
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java