diff options
author | Werner Dittmann <wernerd@java.net> | 2010-06-04 06:07:09 +0000 |
---|---|---|
committer | Werner Dittmann <wernerd@java.net> | 2010-06-04 06:07:09 +0000 |
commit | caf11ee51b2665f2ffa022522f502720a1b6b900 (patch) | |
tree | 75a378ed2e74ddf8935aee6fb03a263bb5f58bfc /src/net/java/sip/communicator/impl/resources | |
parent | 238a7494c27f1a426c3fc24908e288ebf761fe75 (diff) | |
download | jitsi-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/resources')
-rw-r--r-- | src/net/java/sip/communicator/impl/resources/ResourceManagementActivator.java | 3 | ||||
-rw-r--r-- | src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/resources/ResourceManagementActivator.java b/src/net/java/sip/communicator/impl/resources/ResourceManagementActivator.java index 291e6a3..3a27701 100644 --- a/src/net/java/sip/communicator/impl/resources/ResourceManagementActivator.java +++ b/src/net/java/sip/communicator/impl/resources/ResourceManagementActivator.java @@ -39,7 +39,8 @@ public class ResourceManagementActivator resPackImpl, null); - logger.info("Resource manager ... [REGISTERED]"); + if (logger.isInfoEnabled()) + logger.info("Resource manager ... [REGISTERED]"); } public void stop(BundleContext bc) throws Exception diff --git a/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java b/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java index 8c7283a..45d27b5 100644 --- a/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java +++ b/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java @@ -176,7 +176,8 @@ public class ResourceManagementServiceImpl if (event.getType() == ServiceEvent.REGISTERED) { - logger.info("Resource registered " + resourcePack); + if (logger.isInfoEnabled()) + logger.info("Resource registered " + resourcePack); Map<String, String> resources = getResources(resourcePack); @@ -351,7 +352,8 @@ public class ResourceManagementServiceImpl if (path == null || path.length() == 0) { - logger.info("Missing resource for key: " + urlKey); + if (logger.isInfoEnabled()) + logger.info("Missing resource for key: " + urlKey); return null; } return getImageURLForPath(path); |