diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-09-12 23:29:25 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-09-12 23:54:51 +0100 |
commit | 0e23f7634e1e1fb31454c516974613335fcea1a4 (patch) | |
tree | bedf0e52104e62599dd091eb6292de5dc7d57f49 /model/context-model/src/main | |
parent | 3ccc3d9ecd4bcd8960a2da6ecbdc7f3ac806fc67 (diff) |
Sonar/Checkstyle in model/context/core
Checkstyle and sonar changes in the model, contexot
and core modules.
Issue-ID: POLICY-1034
Change-Id: I2d40bc877f3a548844470fc290fc89d63fa465ae
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'model/context-model/src/main')
-rw-r--r-- | model/context-model/src/main/java/org/onap/policy/apex/model/contextmodel/concepts/AxContextAlbums.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/model/context-model/src/main/java/org/onap/policy/apex/model/contextmodel/concepts/AxContextAlbums.java b/model/context-model/src/main/java/org/onap/policy/apex/model/contextmodel/concepts/AxContextAlbums.java index 9df11ae25..cd452cae1 100644 --- a/model/context-model/src/main/java/org/onap/policy/apex/model/contextmodel/concepts/AxContextAlbums.java +++ b/model/context-model/src/main/java/org/onap/policy/apex/model/contextmodel/concepts/AxContextAlbums.java @@ -135,6 +135,9 @@ public final class AxContextAlbums extends AxConcept implements AxConceptGetter< * @param parent the parent object of this object in the unmarshaler */ public void afterUnmarshal(final Unmarshaller unmarsaller, final Object parent) { + Assertions.argumentNotNull(unmarsaller, "unmarsaller should not be null"); + Assertions.argumentNotNull(parent, "parent should not be null"); + // The map must be navigable to allow name and version searching, unmarshaling returns a // hash map final NavigableMap<AxArtifactKey, AxContextAlbum> navigableAlbums = new TreeMap<>(); |