aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java6
1 files changed, 4 insertions, 2 deletions
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);