Commit 386a9f3f authored by Nicolas Fella's avatar Nicolas Fella

remove unneeded throws

parent 0510167c
...@@ -196,7 +196,7 @@ public class AndroidSafSshFile implements SshFile { ...@@ -196,7 +196,7 @@ public class AndroidSafSshFile implements SshFile {
} }
@Override @Override
public void truncate() throws IOException { public void truncate() {
if (documentInfo.length > 0) { if (documentInfo.length > 0) {
delete(); delete();
create(); create();
...@@ -326,7 +326,7 @@ public class AndroidSafSshFile implements SshFile { ...@@ -326,7 +326,7 @@ public class AndroidSafSshFile implements SshFile {
} }
@Override @Override
public Object getAttribute(Attribute attribute, boolean followLinks) throws IOException { public Object getAttribute(Attribute attribute, boolean followLinks) {
Object ret; Object ret;
switch (attribute) { switch (attribute) {
...@@ -402,7 +402,7 @@ public class AndroidSafSshFile implements SshFile { ...@@ -402,7 +402,7 @@ public class AndroidSafSshFile implements SshFile {
} }
@Override @Override
public void setAttribute(Attribute attribute, Object value) throws IOException { public void setAttribute(Attribute attribute, Object value) {
Log.d(TAG, "setAttribute()"); Log.d(TAG, "setAttribute()");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment