aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-11-06 14:40:38 +0530
committerThugutla sailakshmi <tsaila10@in.ibm.com>2019-11-06 14:40:47 +0530
commit28bfe5da090bf650f5724aff421703fd0d294b8c (patch)
tree9deeaea2ca977b8f16fd3b4dca2f35e7e5bef0f0
parentb0ea96ed0edd3436e2a9de33ce8340279982d445 (diff)
AafClientCache.java0-immediately return the expression
Issue-ID: OPTFRA-578 Change-Id: I48f015eaf2facbfce7f54ffe52c0a4c835cb06a2 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
-rwxr-xr-xcmso-topology/src/main/java/org/onap/optf/cmso/aaf/AafClientCache.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmso-topology/src/main/java/org/onap/optf/cmso/aaf/AafClientCache.java b/cmso-topology/src/main/java/org/onap/optf/cmso/aaf/AafClientCache.java
index 1b2facb..413dab4 100755
--- a/cmso-topology/src/main/java/org/onap/optf/cmso/aaf/AafClientCache.java
+++ b/cmso-topology/src/main/java/org/onap/optf/cmso/aaf/AafClientCache.java
@@ -255,8 +255,7 @@ public class AafClientCache {
private String getToken(String auth) {
try {
- String token = new String(DatatypeConverter.parseBase64Binary(auth));
- return token;
+ return new String(DatatypeConverter.parseBase64Binary(auth));
} catch (Exception e) {
return auth;
}