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
Sonar fixes related to exceptions
[aaf/authz.git]
/
auth
/
auth-core
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
auth
/
server
/
AbsService.java
diff --git
a/auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java
b/auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java
index
0c28c7c
..
bb6f198
100644
(file)
--- a/
auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java
+++ b/
auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java
@@
-136,16
+136,13
@@
public abstract class AbsService<ENV extends BasicEnv, TRANS extends Trans> exte
* @return
* @throws LocatorException
*/
* @return
* @throws LocatorException
*/
- protected synchronized AAFConHttp _newAAFConHttp() throws CadiException, LocatorException {
- try {
+ protected synchronized AAFConHttp _newAAFConHttp() throws CadiException, LocatorException {
if(aafCon==null) {
aafCon = new AAFConHttp(access);
if(aafCon==null) {
aafCon = new AAFConHttp(access);
- }
+ }
return aafCon;
return aafCon;
- } catch (APIException e) {
- throw new CadiException(e);
+
}
}
- }
// This is a method, so we can overload for AAFAPI
public String aaf_url() {
// This is a method, so we can overload for AAFAPI
public String aaf_url() {