You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Olivier Lamy (JIRA)" <ji...@apache.org> on 2011/08/05 15:57:28 UTC
[jira] [Resolved] (INFRA-3828) Customize Findbugs ruleset
[ https://issues.apache.org/jira/browse/INFRA-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy resolved INFRA-3828.
---------------------------------
Resolution: Fixed
new profile created for cocoon with rules desactivated
> Customize Findbugs ruleset
> --------------------------
>
> Key: INFRA-3828
> URL: https://issues.apache.org/jira/browse/INFRA-3828
> Project: Infrastructure
> Issue Type: Wish
> Security Level: public(Regular issues)
> Components: Analysis
> Environment: Cocoon 3
> Reporter: Francesco Chicchiriccò
> Assignee: Olivier Lamy
>
> At the moment, the most "bad" violations are related to a couple of rules that couldn't apply to Cocoon 3, for different reasons:
> 1. Using member variables in servlets [1] - Cocoon 3 uses the ServletService framework, so servlet's lifecycle is not managed in the usual way, by a Servlet container
> 2. Direct allocation of a specific implementation of xml interfaces [2]: NekoHtml does not provide a SAXParserFactory, only provides direct instantiation
> So I was wondering if it could be possible to define a custom ruleset, like I suspect is configured for CXF or MyFaces [3].
> Thanks.
> [1] https://analysis.apache.org/rules/show/findbugs:MTIA_SUSPECT_SERVLET_INSTANCE_FIELD?layout=false
> [2] https://analysis.apache.org/rules/show/findbugs:XFB_XML_FACTORY_BYPASS?layout=false
> [3] https://analysis.apache.org/profiles
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira