Cosmetic refactoring
This commit is contained in:
@@ -235,10 +235,12 @@ public class InvitationManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void lookupMappingsForInvites() {
|
public void lookupMappingsForInvites() {
|
||||||
log.info("Checking for existing mapping for pending invites");
|
if (!invitations.isEmpty()) {
|
||||||
for (IThreePidInviteReply reply : invitations.values()) {
|
log.info("Checking for existing mapping for pending invites");
|
||||||
log.info("Processing invite {}", getIdForLog(reply));
|
for (IThreePidInviteReply reply : invitations.values()) {
|
||||||
ForkJoinPool.commonPool().submit(new MappingChecker(reply));
|
log.info("Processing invite {}", getIdForLog(reply));
|
||||||
|
ForkJoinPool.commonPool().submit(new MappingChecker(reply));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user