aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2015-12-09 17:01:51 -0600
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2015-12-09 17:01:55 -0600
commita03e075a41170c23c063c1aaf8ce37d0f7c51652 (patch)
treec5dd1b214193612fdd78b16dd82276cf8b185a96 /src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java
parent7c42889e86694f0be88829b45fbcca876797f6c6 (diff)
downloadjitsi-a03e075a41170c23c063c1aaf8ce37d0f7c51652.zip
jitsi-a03e075a41170c23c063c1aaf8ce37d0f7c51652.tar.gz
jitsi-a03e075a41170c23c063c1aaf8ce37d0f7c51652.tar.bz2
Manually fixes formatting for the sake of readability and consistency.
Diffstat (limited to 'src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java34
1 files changed, 16 insertions, 18 deletions
diff --git a/src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java b/src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java
index 1954f99..6486398 100644
--- a/src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java
+++ b/src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java
@@ -314,24 +314,22 @@ public class PacketLoggingServiceImpl
{
switch(protocol)
{
- case SIP:
- return cfg.isSipLoggingEnabled();
- case JABBER:
- return cfg.isJabberLoggingEnabled();
- case RTP:
- return cfg.isRTPLoggingEnabled();
- case ICE4J:
- return cfg.isIce4JLoggingEnabled();
- case ARBITRARY:
- return cfg.isArbitraryLoggingEnabled();
- default:
- /*
- * It may seem like it was unnecessary to invoke
- * getConfiguration and isGlobalLoggingEnabled prior to
- * checking that the specified protocol is supported but,
- * actually, there are no other ProtocolName values.
- */
- return false;
+ case SIP:
+ return cfg.isSipLoggingEnabled();
+ case JABBER:
+ return cfg.isJabberLoggingEnabled();
+ case RTP:
+ return cfg.isRTPLoggingEnabled();
+ case ICE4J:
+ return cfg.isIce4JLoggingEnabled();
+ case ARBITRARY:
+ return cfg.isArbitraryLoggingEnabled();
+ default:
+ // It may seem like it was unnecessary to invoke
+ // getConfiguration and isGlobalLoggingEnabled prior to checking
+ // that the specified protocol is supported but, actually, there
+ // are no other ProtocolName values.
+ return false;
}
}
else