From 695fe308d31675f145a4f92eed8e59c1f133a4d6 Mon Sep 17 00:00:00 2001 From: Danny van Heumen Date: Mon, 18 May 2015 00:08:26 +0200 Subject: Fix formatting. --- .../sip/communicator/impl/protocol/irc/IrcConnection.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/net/java') diff --git a/src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java b/src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java index 8b7c013..7999e45 100644 --- a/src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java +++ b/src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java @@ -225,7 +225,8 @@ public class IrcConnection final SASL sasl = config.getSASL(); if (sasl != null) { - capabilities.add(new SaslCapability(true, sasl.getRole(), sasl.getUser(), sasl.getPass())); + capabilities.add(new SaslCapability(true, sasl.getRole(), sasl + .getUser(), sasl.getPass())); } return new CompositeNegotiator(capabilities, handler); } @@ -526,7 +527,9 @@ public class IrcConnection * * @author Danny van Heumen */ - private static class NegotiationHandler implements CompositeNegotiator.Host { + private static class NegotiationHandler + implements CompositeNegotiator.Host + { /** * Constant for id of away notify capability. @@ -542,7 +545,8 @@ public class IrcConnection public void acknowledge(Capability cap) { LOGGER.info("Capability " + cap.getId() + " acknowledged."); - if (AWAY_NOTIFY.equals(cap.getId())) { + if (AWAY_NOTIFY.equals(cap.getId())) + { this.awayNotify = true; } } @@ -551,7 +555,8 @@ public class IrcConnection public void reject(Capability cap) { LOGGER.info("Capability " + cap.getId() + " rejected."); - if (AWAY_NOTIFY.equals(cap.getId())) { + if (AWAY_NOTIFY.equals(cap.getId())) + { this.awayNotify = false; } } -- cgit v1.1