summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2019-07-07 14:15:07 +0300
committerEinat Vinouze <einat.vinouze@intl.att.com>2019-07-08 13:48:31 +0300
commitd7192595536591a764afbdf159f68509b6b20bae (patch)
treebfaea56a47298f5d654acda158d7fc4e658898cf /vid-app-common/src/main
parent89b0566dcf587d36f713d301b27009ce1d3bbec6 (diff)
Upgrade to Spring 5.1.6 + simulator fasterxml
Issue-ID: VID-512 Change-Id: I9a74e6357671c5eee0a425354dcd07c762c69c83 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Diffstat (limited to 'vid-app-common/src/main')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/aai/AaiClient.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/AaiClient.java b/vid-app-common/src/main/java/org/onap/vid/aai/AaiClient.java
index 7b78f0712..4ef6fbd24 100644
--- a/vid-app-common/src/main/java/org/onap/vid/aai/AaiClient.java
+++ b/vid-app-common/src/main/java/org/onap/vid/aai/AaiClient.java
@@ -736,11 +736,7 @@ public class AaiClient implements AaiClientInterface {
}
private static String encodePathSegment(String segmentToEncode) {
- try {
- return UriUtils.encodePathSegment(segmentToEncode, "UTF-8");
- } catch (UnsupportedEncodingException e) {
- throw new GenericUncheckedException("URI encoding failed unexpectedly", e);
- }
+ return UriUtils.encodePathSegment(segmentToEncode, "UTF-8");
}
@Override