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
textual cleanup for M4
[aaf/authz.git]
/
auth
/
auth-cmd
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
auth
/
cmd
/
mgmt
/
Deny.java
diff --git
a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/mgmt/Deny.java
b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/mgmt/Deny.java
index
47e5b45
..
bc7f91f
100644
(file)
--- a/
auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/mgmt/Deny.java
+++ b/
auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/mgmt/Deny.java
@@
-74,10
+74,10
@@
public class Deny extends BaseCmd<Mgmt> {
Future<Void> fp;
String resp;
if(option == 0) {
Future<Void> fp;
String resp;
if(option == 0) {
-
fp = client.create(path, Void.class);
+ fp = client.create(path, Void.class);
resp = " added";
} else {
resp = " added";
} else {
-
fp = client.delete(path, Void.class);
+ fp = client.delete(path, Void.class);
resp = " deleted";
}
if (fp.get(AAFcli.timeout())) {
resp = " deleted";
}
if (fp.get(AAFcli.timeout())) {
@@
-85,7
+85,7
@@
public class Deny extends BaseCmd<Mgmt> {
rv=fp.code();
} else {
if (rv==409) {
rv=fp.code();
} else {
if (rv==409) {
- rv = fp.code();
+
rv = fp.code();
};
error(fp);
}
};
error(fp);
}