From 6b9a691f243df511086048c3bbecf00db08b29be Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sat, 18 Oct 2014 20:22:39 -0700 Subject: [PATCH] Fixed warning --- .../java/org/kde/kdeconnect/UserInterface/ShareToReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/kde/kdeconnect/UserInterface/ShareToReceiver.java b/src/main/java/org/kde/kdeconnect/UserInterface/ShareToReceiver.java index 5843914f..e89eb17a 100644 --- a/src/main/java/org/kde/kdeconnect/UserInterface/ShareToReceiver.java +++ b/src/main/java/org/kde/kdeconnect/UserInterface/ShareToReceiver.java @@ -204,7 +204,7 @@ public class ShareToReceiver extends ActionBarActivity { String path = cursor.getString(column_index); np.set("filename", Uri.parse(path).getLastPathSegment()); np.set("size", (int)new File(path).length()); - } catch(Exception _) { + } catch(Exception unused) { Log.e("ShareToReceiver", "Could not resolve media to a file, trying to get info as media");