Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect Android
Commits
386a9f3f
Commit
386a9f3f
authored
Mar 31, 2019
by
Nicolas Fella
Browse files
remove unneeded throws
parent
0510167c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/kde/kdeconnect/Plugins/SftpPlugin/AndroidSafSshFile.java
View file @
386a9f3f
...
...
@@ -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()"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment