diff options
Diffstat (limited to 'aai-traversal/src/main/java/org/onap/aai/rest/search/CustomQueryTestDTO.java')
-rw-r--r-- | aai-traversal/src/main/java/org/onap/aai/rest/search/CustomQueryTestDTO.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/aai-traversal/src/main/java/org/onap/aai/rest/search/CustomQueryTestDTO.java b/aai-traversal/src/main/java/org/onap/aai/rest/search/CustomQueryTestDTO.java index b64f07f..5c2129a 100644 --- a/aai-traversal/src/main/java/org/onap/aai/rest/search/CustomQueryTestDTO.java +++ b/aai-traversal/src/main/java/org/onap/aai/rest/search/CustomQueryTestDTO.java @@ -28,9 +28,9 @@ package org.onap.aai.rest.search; * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -39,9 +39,9 @@ package org.onap.aai.rest.search; * ============LICENSE_END========================================================= */ -import com.beust.jcommander.internal.Maps; import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; @@ -58,10 +58,10 @@ public class CustomQueryTestDTO { private List<LinkedHashMap<String, String>> edgesDtos; @JsonProperty("optional-properties") - private Map<String, String> queryOptionalProperties = Maps.newHashMap(); + private Map<String, String> queryOptionalProperties = new HashMap<>(); @JsonProperty("required-properties") - private Map<String, String> queryRequiredProperties = Maps.newHashMap(); + private Map<String, String> queryRequiredProperties = new HashMap<>(); @JsonProperty("expected-result") private ExpectedResultsDto expectedResultsDtos; |