1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Refactor GVFS (don't require libgio)

This commit is contained in:
Reinhard Pointner 2016-07-12 00:08:34 +08:00
parent a5eefa00b2
commit 8116b53018

View File

@ -127,12 +127,12 @@ public class FileTransferable implements Transferable {
file = GVFS.getDefaultVFS().getPathForURI(uri);
}
} catch (LinkageError error) {
debug.log(Level.WARNING, "Unable to resolve GVFS URI", error);
debug.log(Level.WARNING, "Unable to resolve GVFS URI: " + uri, error);
}
}
if (file == null || !file.exists()) {
throw new FileNotFoundException(file != null ? file.getPath() : line);
throw new FileNotFoundException(line);
}
files.add(file);