Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove Tabs, per Jococo
[aaf/authz.git]
/
auth
/
auth-cmd
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
auth
/
cmd
/
AAFcli.java
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
01d001f
..
4cd628e
100644
(file)
--- 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
@@
-124,10
+124,10
@@
public class AAFcli {
}
public AuthzEnv env() {
}
public AuthzEnv env() {
-
return env;
-
}
+ return env;
+ }
-
public static int timeout() {
+ public static int timeout() {
return TIMEOUT;
}
return TIMEOUT;
}
@@
-332,7
+332,7
@@
public class AAFcli {
Thread.sleep((long)(delay+globalDelay));
}
} catch (Exception e) {
Thread.sleep((long)(delay+globalDelay));
}
} catch (Exception e) {
- if (expect.contains(-1)) {
+
if (expect.contains(-1)) {
pw.println(e.getMessage());
ret = -1;
} else {
pw.println(e.getMessage());
ret = -1;
} else {
@@
-341,7
+341,7
@@
public class AAFcli {
} finally {
clearSingleLineProperties();
}
} finally {
clearSingleLineProperties();
}
- rv = expect.isEmpty()
? true :
expect.contains(ret);
+ rv = expect.isEmpty()
||
expect.contains(ret);
if (verbose) {
if (rv) {
pw.println();
if (verbose) {
if (rv) {
pw.println();
@@
-542,7
+542,7
@@
public class AAFcli {
String line;
while ((line = reader.readLine()) != null) {
String line;
while ((line = reader.readLine()) != null) {
- showDetails = (line.contains("-d"))
?true:false
;
+ showDetails = (line.contains("-d"));
if (line.equalsIgnoreCase("quit") || line.equalsIgnoreCase("q") || line.equalsIgnoreCase("exit")) {
break;
if (line.equalsIgnoreCase("quit") || line.equalsIgnoreCase("q") || line.equalsIgnoreCase("exit")) {
break;