Author: tn Date: Tue Dec 11 21:07:23 2012 New Revision: 1420409 URL: http://svn.apache.org/viewvc?rev=1420409&view=rev Log: Add exclude filter for findbugs warning in EmailException: printStackTrace is supposed to use the default encoding.
Modified: commons/proper/email/trunk/conf/findbugs-exclude-filter.xml Modified: commons/proper/email/trunk/conf/findbugs-exclude-filter.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/conf/findbugs-exclude-filter.xml?rev=1420409&r1=1420408&r2=1420409&view=diff ============================================================================== --- commons/proper/email/trunk/conf/findbugs-exclude-filter.xml (original) +++ commons/proper/email/trunk/conf/findbugs-exclude-filter.xml Tue Dec 11 21:07:23 2012 @@ -31,4 +31,11 @@ <Bug pattern="DM_DEFAULT_ENCODING" /> </Match> + <!-- printStackTrace is supposed to use the default character encoding --> + <Match> + <Class name="org.apache.commons.mail.EmailException" /> + <Method name="printStackTrace" params="java.io.PrintStream" returns="void" /> + <Bug pattern="DM_DEFAULT_ENCODING" /> + </Match> + </FindBugsFilter>