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]
/
cadi
/
aaf
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
cadi
/
aaf
/
v2_0
/
AAFConHttp.java
diff --git
a/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/v2_0/AAFConHttp.java
b/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/v2_0/AAFConHttp.java
index
cc70ae3
..
9b5e938
100644
(file)
--- a/
cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/v2_0/AAFConHttp.java
+++ b/
cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/v2_0/AAFConHttp.java
@@
-104,7
+104,7
@@
public class AAFConHttp extends AAFCon<HttpURLConnection> {
*/
@Override
public SecuritySetter<HttpURLConnection> basicAuth(String user, String password) throws CadiException {
*/
@Override
public SecuritySetter<HttpURLConnection> basicAuth(String user, String password) throws CadiException {
- if(password.startsWith("enc:")) {
+ if
(password.startsWith("enc:")) {
try {
password = access.decrypt(password, true);
} catch (IOException e) {
try {
password = access.decrypt(password, true);
} catch (IOException e) {
@@
-131,7
+131,7
@@
public class AAFConHttp extends AAFCon<HttpURLConnection> {
*/
@Override
protected Rcli<HttpURLConnection> rclient(URI ignoredURI, SecuritySetter<HttpURLConnection> ss) throws CadiException {
*/
@Override
protected Rcli<HttpURLConnection> rclient(URI ignoredURI, SecuritySetter<HttpURLConnection> ss) throws CadiException {
- if(hman.loc==null) {
+ if
(hman.loc==null) {
throw new CadiException("No Locator set in AAFConHttp");
}
try {
throw new CadiException("No Locator set in AAFConHttp");
}
try {
@@
-200,7
+200,7
@@
public class AAFConHttp extends AAFCon<HttpURLConnection> {
protected URI initURI() {
try {
Item item = hman.loc.best();
protected URI initURI() {
try {
Item item = hman.loc.best();
- if(item!=null) {
+ if
(item!=null) {
return hman.loc.get(item);
}
} catch (LocatorException e) {
return hman.loc.get(item);
}
} catch (LocatorException e) {