You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried upgrading to 4.5.0 but the output from the Gradle spotbugsMain task is no longer XML and really hard to read, even though it is named main.xml
main.xml:
M V EI: my.project.jaxrs.JacksonObjectMapperContextResolver.getContext(Class) may expose internal representation by returning JacksonObjectMapperContextResolver.mapper At JacksonObjectMapperContextResolver.java:[line 25]
M V EI: my.project.jaxrs.OpenAPISchemaProcessor$Schema.getDefinitions() may expose internal representation by returning OpenAPISchemaProcessor$Schema.definitions At OpenAPISchemaProcessor.java:[line 274]
M V EI2: my.project.jaxrs.OpenAPISchemaProcessor$Schema.setDefinitions(Map) may expose internal representation by storing an externally mutable object into OpenAPISchemaProcessor$Schema.definitions At OpenAPISchemaProcessor.java:[line 283]
M V EI: my.project.jaxrs.RestExceptionResponseDTO.getDetails() may expose internal representation by returning RestExceptionResponseDTO.details At RestExceptionResponseDTO.java:[line 96]
M V EI: my.project.jaxrs.RestExceptionResponseDTO.getRecommendations() may expose internal representation by returning RestExceptionResponseDTO.recommendations At RestExceptionResponseDTO.java:[line 82]
M V EI2: my.project.jaxrs.RestExceptionResponseDTO.setDetails(List) may expose internal representation by storing an externally mutable object into RestExceptionResponseDTO.details At RestExceptionResponseDTO.java:[line 103]
M V EI2: my.project.jaxrs.RestExceptionResponseDTO.setRecommendations(List) may expose internal representation by storing an externally mutable object into RestExceptionResponseDTO.recommendations At RestExceptionResponseDTO.java:[line 89]
M V EI2: new my.project.json.JsonMapper(ObjectMapper, JsonValidator) may expose internal representation by storing an externally mutable object into JsonMapper.mapper At JsonMapper.java:[line 61]
M V EI2: new my.project.json.JsonValidator(ObjectMapper) may expose internal representation by storing an externally mutable object into JsonValidator.mapper At JsonValidator.java:[line 72]
M D DCN: Do not catch NullPointerException like in my.project.json.JsonValidator$ResourceURIFetcher.fetch(URI) At JsonValidator.java:[line 142]
The text was updated successfully, but these errors were encountered:
I tried upgrading to
4.5.0
but the output from the GradlespotbugsMain
task is no longer XML and really hard to read, even though it is namedmain.xml
main.xml
:The text was updated successfully, but these errors were encountered: