mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 08:25:02 -04:00
Refactor GVFS (don't require libgio)
This commit is contained in:
parent
a5eefa00b2
commit
8116b53018
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user