SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.4
Threshold is medium
Effort is max
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 35 |
4 |
0 |
0 |
org.forgerock.json.resource.http.HttpContext
| Bug |
Category |
Details |
Line |
Priority |
| org.forgerock.json.resource.http.HttpContext.getHeaders() may expose internal representation by returning HttpContext.headers |
MALICIOUS_CODE |
EI_EXPOSE_REP |
158 |
Medium |
| org.forgerock.json.resource.http.HttpContext.getParameters() may expose internal representation by returning HttpContext.parameters |
MALICIOUS_CODE |
EI_EXPOSE_REP |
206 |
Medium |
org.forgerock.json.resource.http.RequestRunner
| Bug |
Category |
Details |
Line |
Priority |
| Found reliance on default encoding in org.forgerock.json.resource.http.RequestRunner.writeTextValue(JsonValue): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
439 |
High |
org.forgerock.json.resource.http.RequestRunner$1
| Bug |
Category |
Details |
Line |
Priority |
| Nullcheck of result at line 156 of value previously dereferenced in org.forgerock.json.resource.http.RequestRunner$1.apply(ActionResponse) |
CORRECTNESS |
RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE |
153 |
High |