diff options
Diffstat (limited to 'auth/auth-fs')
-rw-r--r-- | auth/auth-fs/src/main/java/org/onap/aaf/auth/fs/AAF_FS.java | 2 | ||||
-rw-r--r-- | auth/auth-fs/src/test/java/org/onap/aaf/auth/fs/test/JU_AAF_FS.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/auth/auth-fs/src/main/java/org/onap/aaf/auth/fs/AAF_FS.java b/auth/auth-fs/src/main/java/org/onap/aaf/auth/fs/AAF_FS.java index 128c1f9b..e316e015 100644 --- a/auth/auth-fs/src/main/java/org/onap/aaf/auth/fs/AAF_FS.java +++ b/auth/auth-fs/src/main/java/org/onap/aaf/auth/fs/AAF_FS.java @@ -62,7 +62,7 @@ public class AAF_FS extends AbsService<AuthzEnv, AuthzTrans> { route(env,GET,"/:key", cfa); route(env,GET,"/:key/:cmd", cfa); final String aaf_locate_url = access.getProperty(Config.AAF_LOCATE_URL, null); - if(aaf_locate_url == null) { + if (aaf_locate_url == null) { access.printf(Level.WARN, "Redirection requires property %s",Config.AAF_LOCATE_URL); } else { route(env,GET,"/", new Redirect(this,aaf_locate_url)); diff --git a/auth/auth-fs/src/test/java/org/onap/aaf/auth/fs/test/JU_AAF_FS.java b/auth/auth-fs/src/test/java/org/onap/aaf/auth/fs/test/JU_AAF_FS.java index 9915082b..40105c6e 100644 --- a/auth/auth-fs/src/test/java/org/onap/aaf/auth/fs/test/JU_AAF_FS.java +++ b/auth/auth-fs/src/test/java/org/onap/aaf/auth/fs/test/JU_AAF_FS.java @@ -112,14 +112,14 @@ public class JU_AAF_FS { String[] strArr = {"aaf_component=aaf_com:po.nent"}; try { //AAF_FS.main(strArr); //Timeout caused in Jenkins but not in local - } catch(Exception e) { + } catch (Exception e) { //Failure expected until we understand how code is. } } @After public void cleanUp() { - for(File f : d.listFiles()) { + for (File f : d.listFiles()) { f.delete(); } d.delete(); |