* fixfix
This commit is contained in:
parent
21fa1a19c4
commit
c6a883a538
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue