diff options
Diffstat (limited to 'cps-service/src')
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/impl/CpsQueryServiceImpl.java | 4 | ||||
-rw-r--r-- | cps-service/src/test/groovy/org/onap/cps/impl/CpsFacadeImplSpec.groovy | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/impl/CpsQueryServiceImpl.java b/cps-service/src/main/java/org/onap/cps/impl/CpsQueryServiceImpl.java index 5abdd0fe2b..d61caf2d27 100644 --- a/cps-service/src/main/java/org/onap/cps/impl/CpsQueryServiceImpl.java +++ b/cps-service/src/main/java/org/onap/cps/impl/CpsQueryServiceImpl.java @@ -74,8 +74,8 @@ public class CpsQueryServiceImpl implements CpsQueryService { public <T> Set<T> queryDataLeaf(final String dataspaceName, final String anchorName, final String cpsPath, final int queryResultLimit, final Class<T> targetClass) { cpsValidator.validateNameCharacters(dataspaceName, anchorName); - return cpsDataPersistenceService.queryDataLeaf(dataspaceName, anchorName, cpsPath, queryResultLimit, - targetClass); + return cpsDataPersistenceService.queryDataLeaf(dataspaceName, anchorName, cpsPath, + queryResultLimit, targetClass); } @Override diff --git a/cps-service/src/test/groovy/org/onap/cps/impl/CpsFacadeImplSpec.groovy b/cps-service/src/test/groovy/org/onap/cps/impl/CpsFacadeImplSpec.groovy index 4351631ee1..36cee6d627 100644 --- a/cps-service/src/test/groovy/org/onap/cps/impl/CpsFacadeImplSpec.groovy +++ b/cps-service/src/test/groovy/org/onap/cps/impl/CpsFacadeImplSpec.groovy @@ -20,6 +20,9 @@ package org.onap.cps.impl +import static org.onap.cps.api.parameters.FetchDescendantsOption.OMIT_DESCENDANTS +import static org.onap.cps.api.parameters.PaginationOption.NO_PAGINATION + import org.onap.cps.api.CpsAnchorService import org.onap.cps.api.CpsDataService import org.onap.cps.api.CpsQueryService @@ -29,9 +32,6 @@ import org.onap.cps.utils.DataMapper import org.onap.cps.utils.PrefixResolver import spock.lang.Specification -import static org.onap.cps.api.parameters.FetchDescendantsOption.OMIT_DESCENDANTS -import static org.onap.cps.api.parameters.PaginationOption.NO_PAGINATION - class CpsFacadeImplSpec extends Specification { def mockCpsDataService = Mock(CpsDataService) |