diff options
author | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2015-12-09 17:01:51 -0600 |
---|---|---|
committer | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2015-12-09 17:01:55 -0600 |
commit | a03e075a41170c23c063c1aaf8ce37d0f7c51652 (patch) | |
tree | c5dd1b214193612fdd78b16dd82276cf8b185a96 /src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java | |
parent | 7c42889e86694f0be88829b45fbcca876797f6c6 (diff) | |
download | jitsi-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.java | 34 |
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 |