This commit is contained in:
Reinhard Pointner 2012-11-24 21:56:09 +00:00
parent 21fa1a19c4
commit c6a883a538
2 changed files with 3 additions and 3 deletions

View File

@ -120,14 +120,14 @@ public class FileTransferable implements Transferable {
try { try {
// file URIs // file URIs
file = new File(uri); file = new File(uri);
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException exception) {
// try handle other GVFS URI schemes // try handle other GVFS URI schemes
try { try {
if (GVFS.isSupported()) { if (GVFS.isSupported()) {
file = GVFS.getPathForURI(uri); file = GVFS.getPathForURI(uri);
} }
} catch (LinkageError error) { } catch (LinkageError error) {
Logger.getLogger(FileTransferable.class.getName()).log(Level.WARNING, "Unable to resolve GVFS URI", e); Logger.getLogger(FileTransferable.class.getName()).log(Level.WARNING, "Unable to resolve GVFS URI", error);
} }
} }