From 83b2fd7e1da01be39d1093e3d52de9358b9f8d2e Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Sun, 27 May 2018 17:49:33 +0300 Subject: new unit tests for sdc-be Change-Id: Ibd71f40a0318cb2f8a3e39bf4ad714ae05f75d72 Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman --- .../org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDao.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'catalog-dao/src/main') 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()); -- cgit 1.2.3-korg