summaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-dao/src/main/java/org')
-rw-r--r--catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDao.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDao.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDao.java
index 211cb6716c..82630e063a 100644
--- a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDao.java
+++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDao.java
@@ -101,9 +101,7 @@ public class ComponentCassandraDao extends CassandraDao {
}
events.all().forEach(event -> {
components.add(event);
- if (logger.isTraceEnabled()) {
- logger.trace("Fetch component uid = {} isDirty = {}", event.getId(), event.getIsDirty());
- }
+ logger.trace("Fetch component uid = {} isDirty = {}", event.getId(), event.getIsDirty());
});
logger.debug("Number of components to fetch was {}. Actually, {} components fetched", ids.size(),
@@ -128,9 +126,7 @@ public class ComponentCassandraDao extends CassandraDao {
}
events.all().forEach(event -> {
components.add(event);
- if (logger.isTraceEnabled()) {
logger.trace("Fetch component uid = {} isDirty = {}", event.getId(), event.getIsDirty());
- }
});
logger.debug("Number of components fetched was {}.", components.size());