Code Review
/
dmaap
/
messagerouter
/
messageservice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix Sonar vulnerabilities and Bugs
[dmaap/messagerouter/messageservice.git]
/
src
/
main
/
java
/
com
/
att
/
nsa
/
dmaap
/
DMaaPCambriaExceptionMapper.java
diff --git
a/src/main/java/com/att/nsa/dmaap/DMaaPCambriaExceptionMapper.java
b/src/main/java/com/att/nsa/dmaap/DMaaPCambriaExceptionMapper.java
index
e5fe8c4
..
c3699c7
100644
(file)
--- a/
src/main/java/com/att/nsa/dmaap/DMaaPCambriaExceptionMapper.java
+++ b/
src/main/java/com/att/nsa/dmaap/DMaaPCambriaExceptionMapper.java
@@
-103,8
+103,8
@@
public class DMaaPCambriaExceptionMapper implements ExceptionMapper<CambriaApiEx
/**
* Cambria Generic Exception
*/
/**
* Cambria Generic Exception
*/
- if(ex instanceof CambriaApiException)
- {
+
/*
if(ex instanceof CambriaApiException)
+ {
*/
errRes = ex.getErrRes();
if(errRes!=null) {
errRes = ex.getErrRes();
if(errRes!=null) {
@@
-124,7
+124,7
@@
public class DMaaPCambriaExceptionMapper implements ExceptionMapper<CambriaApiEx
}
}
- }
+
/*
}
else
{
errRes = new ErrorResponse(HttpStatus.SC_NOT_FOUND,
else
{
errRes = new ErrorResponse(HttpStatus.SC_NOT_FOUND,
@@
-134,7
+134,7
@@
public class DMaaPCambriaExceptionMapper implements ExceptionMapper<CambriaApiEx
errRes.getErrMapperStr()).build();
return response;
errRes.getErrMapperStr()).build();
return response;
- }
+ }
*/
}
}