aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-topology
diff options
context:
space:
mode:
authorJerry Flood <jflood@att.com>2020-01-22 07:02:20 -0500
committerJerry Flood <jflood@att.com>2020-01-22 09:41:50 -0500
commit4504d02f860b740a17a3d72c19ef5d04803896e6 (patch)
treec6cb8a00c1d1dde0ba4c83f5c2b6f05d43268cac /cmso-topology
parent8ca99e970af44e64ed6bd73f1e7b66e49b35cc60 (diff)
Update robot docker build
Issue-ID: OPTFRA-681 Change-Id: Id72cdaad6c8ab8ddcb448ff9b5b3c10a7566b76d Signed-off-by: Jerry Flood <jflood@att.com>
Diffstat (limited to 'cmso-topology')
-rwxr-xr-xcmso-topology/src/main/java/org/onap/optf/cmso/aaf/AafClientCache.java10
1 files changed, 5 insertions, 5 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 67894eb..feb20d6 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
@@ -138,11 +138,11 @@ public class AafClientCache {
cacheAge = now;
}
permissions = cache.get(getCacheKey(auth));
- if ((permissions == null)&&(!auth.get("password").equals(""))) {
- permissions = getPermissionsFromAaf(auth);
- if (permissions != null) {
- cache.put(getCacheKey(auth), permissions);
- }
+ if ((permissions == null) && (!auth.get("password").equals(""))) {
+ permissions = getPermissionsFromAaf(auth);
+ if (permissions != null) {
+ cache.put(getCacheKey(auth), permissions);
+ }
}
}
return permissions;