PMD: Use opposite operator instead of the logic complement operator.

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-10-06 16:54:27 +02:00
parent da9daed3a9
commit 0a70567452
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -183,7 +183,7 @@ public class NotificationWorker extends Worker {
}
}
muteCall = !(conversation.getNotificationCalls() == 1);
muteCall = conversation.getNotificationCalls() != 1;
}
@Override