summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'cps-ri/src/main')
-rwxr-xr-xcps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java
index 9ed111271a..51790f390d 100755
--- a/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java
+++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java
@@ -25,7 +25,6 @@ import org.onap.cps.spi.repository.DataRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
-
@Component
public class DataPersistenceServiceImpl implements DataPersistenceService {
@@ -63,7 +62,8 @@ public class DataPersistenceServiceImpl implements DataPersistenceService {
* @param jsonStructureId the JSON object identifier.
*/
@Override
- public void deleteJsonById(int jsonStructureId) {
+ public void deleteJsonById(final int jsonStructureId) {
dataRepository.deleteById(jsonStructureId);
}
+
}