Merge pull request #164 from treble-snake/fix-condition-precedence

Fix condition precedence
smack4 5479
Ingo Bauersachs 11 years ago
commit 50a69e3e1e

@ -1199,8 +1199,10 @@ public void authorizationReceived(SessionAuthorizationEvent ev)
Contact srcContact = findContactById(ev.getFrom());
if(srcContact == null)
{
if (logger.isTraceEnabled())
logger.trace("No contact found");
}
else
handler.processAuthorizationResponse(
new AuthorizationResponse(
@ -1215,8 +1217,10 @@ else if(ev.isAuthorizationDenied())
Contact srcContact = findContactById(ev.getFrom());
if(srcContact == null)
{
if (logger.isTraceEnabled())
logger.trace("No contact found");
}
else
{
handler.processAuthorizationResponse(

Loading…
Cancel
Save