summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
987cb49)
Fixed sonar issue, a nullpointer exception could be thrown
Issue-ID: DMAAP-666
Change-Id: Ie8bce6e6a5a1c05cace69487ae6ece3746dd73cf
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
- mr_topics.put( ntopic.getFqtn(), ntopic );
+ if(ntopic != null) {
+ mr_topics.put( ntopic.getFqtn(), ntopic );
+ }
err.setCode(Status.OK.getStatusCode());
return ntopic;
}
err.setCode(Status.OK.getStatusCode());
return ntopic;
}