summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'cps-ri/src/main/java/org')
-rw-r--r--cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java2
-rw-r--r--cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java2
-rwxr-xr-xcps-ri/src/main/java/org/onap/cps/spi/entities/Module.java10
-rwxr-xr-xcps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java1
4 files changed, 7 insertions, 8 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java
index aeab4f844b..9f127f432a 100644
--- a/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java
+++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/Dataspace.java
@@ -59,7 +59,7 @@ public class Dataspace implements Serializable {
*
* @param name the Dataspace name.
*/
- public Dataspace(String name) {
+ public Dataspace(final String name) {
this.name = name;
}
} \ No newline at end of file
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java
index 413362e384..bd147bf73c 100644
--- a/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java
+++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/JsonDataEntity.java
@@ -48,7 +48,7 @@ public class JsonDataEntity {
@Column
private String jsonStructure;
- public JsonDataEntity(String jsonStructure) {
+ public JsonDataEntity(final String jsonStructure) {
this.jsonStructure = jsonStructure;
}
}
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/entities/Module.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/Module.java
index ef6895c7d4..7043c73952 100755
--- a/cps-ri/src/main/java/org/onap/cps/spi/entities/Module.java
+++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/Module.java
@@ -36,7 +36,6 @@ import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
-
/**
* Entity to store a yang module.
*/
@@ -73,12 +72,13 @@ public class Module implements Serializable {
/**
* Initialize a module entity.
*
- * @param namespace the module namespace.
+ * @param namespace the module namespace.
* @param moduleContent the module content.
- * @param revision the revision number of the module.
- * @param dataspace the dataspace related to the module.
+ * @param revision the revision number of the module.
+ * @param dataspace the dataspace related to the module.
*/
- public Module(String namespace, String moduleContent, String revision, Dataspace dataspace) {
+ public Module(final String namespace, final String moduleContent, final String revision,
+ final Dataspace dataspace) {
this.namespace = namespace;
this.moduleContent = moduleContent;
this.revision = revision;
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java b/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java
index ad8004c07d..daf0b716b7 100755
--- a/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java
+++ b/cps-ri/src/main/java/org/onap/cps/spi/repository/DataspaceRepository.java
@@ -19,7 +19,6 @@
package org.onap.cps.spi.repository;
-
import java.util.Optional;
import javax.validation.constraints.NotNull;
import org.onap.cps.exceptions.CpsNotFoundException;