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

Small tweaks suggested by static code analyzer

This commit is contained in:
Albert Vaca Cintora
2022-01-24 01:38:02 +01:00
parent 2d55f282a8
commit 6cf0ef79b2
17 changed files with 23 additions and 44 deletions

View File

@@ -511,7 +511,7 @@ public class SMSPlugin extends Plugin {
private boolean handleRequestSingleConversation(NetworkPacket packet) {
SMSHelper.ThreadID threadID = new SMSHelper.ThreadID(packet.getLong("threadID"));
Long rangeStartTimestamp = packet.getLong("rangeStartTimestamp", -1);
long rangeStartTimestamp = packet.getLong("rangeStartTimestamp", -1);
Long numberToGet = packet.getLong("numberToRequest", -1);
if (numberToGet < 0) {