aboutsummaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/basic-model/pom.xml4
-rw-r--r--model/basic-model/src/main/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInformation.java2
-rw-r--r--model/model-api/src/test/resources/models/PolicyModel.xml8
-rw-r--r--model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java1
4 files changed, 8 insertions, 7 deletions
diff --git a/model/basic-model/pom.xml b/model/basic-model/pom.xml
index 8d11fe5e3..a13bab5a9 100644
--- a/model/basic-model/pom.xml
+++ b/model/basic-model/pom.xml
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
- <version>2.6.2</version>
+ <version>${version.eclipselink}</version>
</dependency>
</dependencies>
@@ -70,4 +70,4 @@
</plugin>
</plugins>
</build>
-</project> \ No newline at end of file
+</project>
diff --git a/model/basic-model/src/main/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInformation.java b/model/basic-model/src/main/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInformation.java
index 2ddbe5def..6590ff456 100644
--- a/model/basic-model/src/main/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInformation.java
+++ b/model/basic-model/src/main/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInformation.java
@@ -457,4 +457,4 @@ public class AxKeyInformation extends AxConcept implements AxConceptGetter<AxKey
return new AxConceptGetterImpl<>((NavigableMap<AxArtifactKey, AxKeyInfo>) keyInfoMap).getAll(conceptKeyName,
conceptKeyVersion);
}
-}
+} \ No newline at end of file
diff --git a/model/model-api/src/test/resources/models/PolicyModel.xml b/model/model-api/src/test/resources/models/PolicyModel.xml
index a89f73db2..684ce32c9 100644
--- a/model/model-api/src/test/resources/models/PolicyModel.xml
+++ b/model/model-api/src/test/resources/models/PolicyModel.xml
@@ -649,11 +649,11 @@
</eventMap>
</events>
<albums>
- <key xmlns="">
+ <key xmlns="http://www.onap.org/policy/apex-pdp">
<name xmlns="http://www.onap.org/policy/apex-pdp">context</name>
<version xmlns="http://www.onap.org/policy/apex-pdp">0.0.1</version>
</key>
- <albums xmlns="">
+ <albums xmlns="http://www.onap.org/policy/apex-pdp">
<entry>
<key>
<name xmlns="http://www.onap.org/policy/apex-pdp">contextAlbum0</name>
@@ -693,11 +693,11 @@
</albums>
</albums>
<schemas>
- <key xmlns="">
+ <key xmlns="http://www.onap.org/policy/apex-pdp">
<name xmlns="http://www.onap.org/policy/apex-pdp">ContextSchemas</name>
<version xmlns="http://www.onap.org/policy/apex-pdp">0.0.1</version>
</key>
- <schemas xmlns="">
+ <schemas xmlns="http://www.onap.org/policy/apex-pdp">
<entry>
<key>
<name xmlns="http://www.onap.org/policy/apex-pdp">MapType</name>
diff --git a/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java b/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java
index b4f9d2f75..e806bd7a0 100644
--- a/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java
+++ b/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java
@@ -36,6 +36,7 @@ import sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl;
* <a href="https://github.com/KetothXupack/stackoverflow-answers/tree/master/q39401083">
* https://github.com/KetothXupack/stackoverflow-answers/tree/master/q39401083</a><br>
*/
+@SuppressWarnings("restriction")
public class ClassBuilder {
private final Class<?> clazz;
private final List<ClassBuilder> parameters = new ArrayList<>();