1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-12 22:11:07 +01:00

Fix minor codestyle issues

This commit is contained in:
Paul Schaub 2017-12-13 23:10:11 +01:00 committed by Florian Schmaus
parent 200f90ffdc
commit cb18056613
422 changed files with 1404 additions and 1444 deletions

View file

@ -103,7 +103,7 @@ public final class BlockingCommandManager extends Manager {
BlockContactsIQ blockContactIQ = (BlockContactsIQ) iqRequest;
if (blockListCached == null) {
blockListCached = new ArrayList<Jid>();
blockListCached = new ArrayList<>();
}
List<Jid> blockedJids = blockContactIQ.getJids();
@ -125,7 +125,7 @@ public final class BlockingCommandManager extends Manager {
UnblockContactsIQ unblockContactIQ = (UnblockContactsIQ) iqRequest;
if (blockListCached == null) {
blockListCached = new ArrayList<Jid>();
blockListCached = new ArrayList<>();
}
List<Jid> unblockedJids = unblockContactIQ.getJids();