rest/spotbugs-exclude.xml (42 lines of code) (raw):
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter
xmlns="https://github.com/spotbugs/filter/3.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
<Match>
<Class name="com.epam.eco.schemacatalog.rest.utils.UrlDecoderUtils" />
<Method name="decodeUrlParam" />
<Bug pattern="EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS" />
</Match>
<Match>
<Class name="com.epam.eco.schemacatalog.rest.controller.SchemaController" />
<Method name="getSubject" />
<Bug pattern="URV_UNRELATED_RETURN_VALUES" />
</Match>
<Match>
<Class name="com.epam.eco.schemacatalog.rest.config.HttpSecurityConfigurer" />
<Bug pattern="SPRING_CSRF_PROTECTION_DISABLED" />
</Match>
<Match>
<Class name="com.epam.eco.schemacatalog.rest.config.SchemaCatalogRestConfiguration" />
<Bug pattern="FCBL_FIELD_COULD_BE_LOCAL" />
</Match>
<Match>
<Class name="com.epam.eco.schemacatalog.rest.view.FormattedMetadataValue" />
<Method name="getAttributes" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<Class name="com.epam.eco.schemacatalog.rest.view.SchemaProfile" />
<Method name="getSchemas" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<Class name="com.epam.eco.schemacatalog.rest.view.TagDescription" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<Match>
<Class name="com.epam.eco.schemacatalog.rest.view.TagDescription$Builder" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
</FindBugsFilter>