diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2025-01-02 14:35:56 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2025-01-02 15:03:52 +0100 |
commit | bdcbafd9e36f5eb7f2c3ccae677977d600051de4 (patch) | |
tree | 5176b326e104d6febb6927b72b30f42935768f52 /aai-traversal/src/main/java | |
parent | 0c353893b5476a505a414da9ff683b0921726f4f (diff) |
Use aai-common 1.15.4 in traversal1.15.4
- use aai-common 1.15.4 that contains dependency updates
- remove jopt-simple dependency
- do not declare jnr-ffi as explicit dependency
since it is only used transitively
Issue-ID: AAI-4095
Change-Id: I4260df8bd8f3da337d29d6ab82d29e4b75b57aa4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-traversal/src/main/java')
-rw-r--r-- | aai-traversal/src/main/java/org/onap/aai/transforms/MapTraverser.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/aai-traversal/src/main/java/org/onap/aai/transforms/MapTraverser.java b/aai-traversal/src/main/java/org/onap/aai/transforms/MapTraverser.java index 24d5a83..77f2cd3 100644 --- a/aai-traversal/src/main/java/org/onap/aai/transforms/MapTraverser.java +++ b/aai-traversal/src/main/java/org/onap/aai/transforms/MapTraverser.java @@ -24,8 +24,6 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import joptsimple.internal.Objects; - public class MapTraverser { private Converter converter; @@ -36,7 +34,8 @@ public class MapTraverser { public Map<String, Object> convertKeys(Map<String, Object> map) { - Objects.ensureNotNull(map); + if (map == null) + throw new NullPointerException(); Map<String, Object> modifiedMap = new HashMap<>(); convertKeys(map, modifiedMap); |