2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 09:58:08 +00:00

Null check not needed

This commit is contained in:
Albert Vaca Cintora 2023-06-16 15:46:30 +02:00
parent cf28c9c7dc
commit 6879e40341

View File

@ -172,9 +172,7 @@ public class LanLink extends BaseLink {
}
return true;
} catch (Exception e) {
if (callback != null) {
callback.onFailure(e);
}
callback.onFailure(e);
return false;
} finally {
//Make sure we close the payload stream, if any