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
Mass whitespace changes (Style Warnings)
[aaf/authz.git]
/
auth
/
auth-gui
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
auth
/
gui
/
pages
/
ApiExample.java
diff --git
a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiExample.java
b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiExample.java
index
3beed56
..
7da7760
100644
(file)
--- a/
auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiExample.java
+++ b/
auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiExample.java
@@
-79,7
+79,7
@@
public class ApiExample extends Page {
"application/Void+json"
);
Future<String> fs2;
"application/Void+json"
);
Future<String> fs2;
- if(typecode.contains("Request+")) {
+ if
(typecode.contains("Request+")) {
fs2 = gui.client().read("/api/example/" + encoded+"?optional=true",
"application/Void+json"
);
fs2 = gui.client().read("/api/example/" + encoded+"?optional=true",
"application/Void+json"
);
@@
-88,19
+88,19
@@
public class ApiExample extends Page {
}
}
- if(fp.get(5000)) {
+ if
(fp.get(5000)) {
xgen.incr(HTMLGen.H1).text("Sample Code").end()
.incr(HTMLGen.H5).text(typecode).end();
xgen.incr("pre");
xgen.incr(HTMLGen.H1).text("Sample Code").end()
.incr(HTMLGen.H5).text(typecode).end();
xgen.incr("pre");
- if(typecode.contains("+xml")) {
+ if
(typecode.contains("+xml")) {
xgen.xml(fp.body());
xgen.xml(fp.body());
- if(fs2!=null && fs2.get(5000)) {
+ if
(fs2!=null && fs2.get(5000)) {
xgen.text(WITH_OPTIONAL_PARAMETERS);
xgen.xml(fs2.body());
}
} else {
xgen.text(fp.body());
xgen.text(WITH_OPTIONAL_PARAMETERS);
xgen.xml(fs2.body());
}
} else {
xgen.text(fp.body());
- if(fs2!=null && fs2.get(5000)) {
+ if
(fs2!=null && fs2.get(5000)) {
xgen.text(WITH_OPTIONAL_PARAMETERS);
xgen.text(fs2.body());
}
xgen.text(WITH_OPTIONAL_PARAMETERS);
xgen.text(fs2.body());
}