aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/sparkle
diff options
context:
space:
mode:
authorWerner Dittmann <wernerd@java.net>2010-06-04 06:07:09 +0000
committerWerner Dittmann <wernerd@java.net>2010-06-04 06:07:09 +0000
commitcaf11ee51b2665f2ffa022522f502720a1b6b900 (patch)
tree75a378ed2e74ddf8935aee6fb03a263bb5f58bfc /src/net/java/sip/communicator/impl/sparkle
parent238a7494c27f1a426c3fc24908e288ebf761fe75 (diff)
downloadjitsi-caf11ee51b2665f2ffa022522f502720a1b6b900.zip
jitsi-caf11ee51b2665f2ffa022522f502720a1b6b900.tar.gz
jitsi-caf11ee51b2665f2ffa022522f502720a1b6b900.tar.bz2
Fix logger usage - seventh and last bunch
Diffstat (limited to 'src/net/java/sip/communicator/impl/sparkle')
-rw-r--r--src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java b/src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java
index b3fbe5c..8a98b5f 100644
--- a/src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java
+++ b/src/net/java/sip/communicator/impl/sparkle/SparkleActivator.java
@@ -73,7 +73,8 @@ public class SparkleActivator
catch(Throwable t)
{
logger.warn("Couldn't load sparkle library.");
- logger.debug("Couldn't load sparkle library.", t);
+ if (logger.isDebugEnabled())
+ logger.debug("Couldn't load sparkle library.", t);
return;
}
@@ -82,7 +83,8 @@ public class SparkleActivator
initSparkle(System.getProperty("user.dir")
+ "/../../Frameworks/Sparkle.framework",
updateAtStartup, checkInterval);
- logger.info("Sparkle Plugin ...[Started]");
+ if (logger.isInfoEnabled())
+ logger.info("Sparkle Plugin ...[Started]");
}
/**
@@ -95,6 +97,7 @@ public class SparkleActivator
*/
public void stop(BundleContext bundleContext) throws Exception
{
- logger.info("Sparkle Plugin ...[Stopped]");
+ if (logger.isInfoEnabled())
+ logger.info("Sparkle Plugin ...[Stopped]");
}
}