From 386a9f3f409947e5628fc9160acd12836e7ddec9 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 31 Mar 2019 19:26:21 +0200 Subject: [PATCH] remove unneeded throws --- .../kdeconnect/Plugins/SftpPlugin/AndroidSafSshFile.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/kde/kdeconnect/Plugins/SftpPlugin/AndroidSafSshFile.java b/src/org/kde/kdeconnect/Plugins/SftpPlugin/AndroidSafSshFile.java index 1b4cc8e2..9901a4a6 100644 --- a/src/org/kde/kdeconnect/Plugins/SftpPlugin/AndroidSafSshFile.java +++ b/src/org/kde/kdeconnect/Plugins/SftpPlugin/AndroidSafSshFile.java @@ -196,7 +196,7 @@ public class AndroidSafSshFile implements SshFile { } @Override - public void truncate() throws IOException { + public void truncate() { if (documentInfo.length > 0) { delete(); create(); @@ -326,7 +326,7 @@ public class AndroidSafSshFile implements SshFile { } @Override - public Object getAttribute(Attribute attribute, boolean followLinks) throws IOException { + public Object getAttribute(Attribute attribute, boolean followLinks) { Object ret; switch (attribute) { @@ -402,7 +402,7 @@ public class AndroidSafSshFile implements SshFile { } @Override - public void setAttribute(Attribute attribute, Object value) throws IOException { + public void setAttribute(Attribute attribute, Object value) { Log.d(TAG, "setAttribute()"); }