diff options
author | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2022-12-08 10:55:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-12-08 10:55:49 +0000 |
commit | aa29f24b0da9b9d2c86a0c528357a17ff3d7a871 (patch) | |
tree | ab2fc1c79c5953cc8a675aeb1a6eec859af328a3 /cps-ri/src/main/java | |
parent | 25ccf32dea99b65d027890f1613a0a60099c7b2d (diff) | |
parent | 77567aed472b0404373d1c43a43e6ab5ea318da8 (diff) |
Merge "Fix SonarQube Violations"
Diffstat (limited to 'cps-ri/src/main/java')
-rw-r--r-- | cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java index ac1be1cd30..b22f171f21 100644 --- a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java @@ -232,9 +232,8 @@ public class CpsDataPersistenceServiceImpl implements CpsDataPersistenceService if (isRootXpath(xpath)) { final List<FragmentExtract> fragmentExtracts = fragmentRepository.getTopLevelFragments(dataspaceEntity, anchorEntity); - final FragmentEntity fragmentEntity = FragmentEntityArranger.toFragmentEntityTree(anchorEntity, + return FragmentEntityArranger.toFragmentEntityTree(anchorEntity, fragmentExtracts); - return fragmentEntity; } else { final String normalizedXpath = getNormalizedXpath(xpath); final FragmentEntity fragmentEntity; |