|
FindDeadLocalStores / exclude filter issue: msg#00053java.findbugs.general
This is a multi-part message in MIME format. Hi, When processing pre-compiled JSPs, I'm struggling with excluding the generated variables: The following exclude filter does not work for me: <Match> <Or> <Field name="~_jspx_.*" /> <Field name="request" /> <Field name="response" /> <Field name="application" /> <Field name="config" /> <Field name="session" /> <Field name="out" /> <Field name="page" /> <Field name="pageContext" /> </Or> </Match> I know that I can use the system property findbugs.dls.exclusions to exclude some of the fields: findbugs.dls.exclusions=request,response,out,session,application,config,page Context,page But this does not exclude _jspx_.* variables that represent most of bug instances i want to get ride of. I've got an ugly hack using a system property (findbugs.dls.exclusions.jsp=true) in order to wipe out bug instances for variable names starting with _jspx_ (see attachment). Any better solution around? Regards, Etienne
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | false positives in current SVN, Matt |
|---|---|
| Next by Date: | 1.1.2-rc6, Lars Torunski |
| Previous by Thread: | false positives in current SVN, Matt |
| Next by Thread: | Adding <Local name="foobar"> to filters (was Re: FindDeadLocalStores / exclude filter issue), Bill Pugh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |