diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2018-05-27 17:49:33 +0300 |
---|---|---|
committer | Tal Gitelman <tg851x@intl.att.com> | 2018-05-27 17:52:36 +0300 |
commit | 83b2fd7e1da01be39d1093e3d52de9358b9f8d2e (patch) | |
tree | c87fe05e40d8918961c2d0aa6aaae84cbde48304 /catalog-dao/src/main | |
parent | fa2c7f888495ed0969ce9178b9f770ac088a5f07 (diff) |
new unit tests for sdc-be
Change-Id: Ibd71f40a0318cb2f8a3e39bf4ad714ae05f75d72
Issue-ID: SDC-1333
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'catalog-dao/src/main')
-rw-r--r-- | catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDao.java | 6 |
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()); |