* can't test drives that don't exist for being a folder or not

This commit is contained in:
Reinhard Pointner 2012-07-16 11:24:34 +00:00
parent 4fcc3def80
commit 5abb1f7abe
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ public final class FileUtilities {
public static String getName(File file) {
if (file.isDirectory())
if (file.getName().isEmpty())
return getFolderName(file);
return getNameWithoutExtension(file.getName());