aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-topology/src
diff options
context:
space:
mode:
Diffstat (limited to 'cmso-topology/src')
-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;