2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 18:07:55 +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; return true;
} catch (Exception e) { } catch (Exception e) {
if (callback != null) { callback.onFailure(e);
callback.onFailure(e);
}
return false; return false;
} finally { } finally {
//Make sure we close the payload stream, if any //Make sure we close the payload stream, if any