FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
45 4 0 0

org.apache.johnzon.mapper.Mapper

Bug Category Details Line Priority
org.apache.johnzon.mapper.Mapper.buildObject(Type, JsonObject) uses the same code for two branches STYLE DB_DUPLICATE_BRANCHES 524 Medium
Found reliance on default encoding in org.apache.johnzon.mapper.Mapper.writeArray(Collection, OutputStream): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 209 High
Found reliance on default encoding in org.apache.johnzon.mapper.Mapper.writeIterable(Iterable, OutputStream): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 238 High
Return value of putIfAbsent is ignored, but enumConverter is reused in org.apache.johnzon.mapper.Mapper.findConverter(Type) MT_CORRECTNESS RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORED 177 High