diff options
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); |