diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2019-01-30 12:07:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-30 12:07:39 +0000 |
commit | 0043d105a7707f0ecc6b7f9695e4b8f2d08f6981 (patch) | |
tree | 9143e23a219c83f68b6721d18e00e21188e8f848 /auth/auth-cmd/src/main/java/org | |
parent | d0e74aef834309b6fe8816de5035582445616ddf (diff) | |
parent | 429f7665740bfe50fee172a54177c49369e42ecb (diff) |
Merge "Sonar fix: AAFcli.java"
Diffstat (limited to 'auth/auth-cmd/src/main/java/org')
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java index ad997d16..edbe2068 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java @@ -3,6 +3,8 @@ * org.onap.aaf * =========================================================================== * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright (C) 2018 IBM. * =========================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -86,17 +88,13 @@ public class AAFcli { private static boolean showDetails = false; private static boolean ignoreDelay = false; private static int globalDelay=0; - - public static int timeout() { - return TIMEOUT; - } // Create when only have Access public AAFcli(Access access, Writer wtr, HMangr hman, SecurityInfoC<HttpURLConnection> si, SecuritySetter<HttpURLConnection> ss) throws APIException, CadiException { this(access,new AuthzEnv(access.getProperties()),wtr,hman, si,ss); } - public AAFcli(Access access, AuthzEnv env, Writer wtr, HMangr hman, SecurityInfoC<HttpURLConnection> si, SecuritySetter<HttpURLConnection> ss) throws APIException, CadiException { + public AAFcli(Access access, AuthzEnv env, Writer wtr, HMangr hman, SecurityInfoC<HttpURLConnection> si, SecuritySetter<HttpURLConnection> ss) throws APIException { this.env = env; this.access = access; this.ss = ss; @@ -125,6 +123,10 @@ public class AAFcli { cmds.add(new Mgmt(this)); } + public static int timeout() { + return TIMEOUT; + } + public void verbose(boolean v) { verbose = v; } |