On Fri, Dec 20, 2013 at 12:57 PM, Stefan Bodewig <bode...@apache.org> wrote:

> On 2013-12-20, sebb wrote:
>
> > On 20 December 2013 17:38, Stefan Bodewig <bode...@apache.org> wrote:
> >> On 2013-12-20, sebb wrote:
>
> >>> On 20 December 2013 17:07, Stefan Bodewig <bode...@apache.org> wrote:
> >>>> On 2013-12-20, Gary Gregory wrote:
>
> >>>>> We get PMD warnings in
> >>>>> org.apache.commons.compress.archivers.jar.JarArchiveEntry about
> methods
> >>>>> only calling super.
>
> >>>>> Either document that the methods are placeholders for future
> >>>>> implementations (TODO) or remove the methods.
>
> >>>> Actually it is neither.  If you remove the methods findbugs will
> >>>> complain that JarEntry doesn't override equals() - it's a choice
> between
> >>>> Findbugs or PMD being unhappy.
>
> >>> Are you sure?
>
> >> Yes, I actually tried it again before sending my email.
>
> > I don't get a Findbugs error if I comment out the two methods.
> > I am using Findbugs 2.0.3 in Eclipse.
>
> > What Findbugs error do you get?
>
>
> http://findbugs.sourceforge.net/bugDescriptions.html#EQ_DOESNT_OVERRIDE_EQUALS
>
> using "mvn site" and findbugs-maven-plugin 2.3.2.
>

How about using the current version of FB, 2.5.3?

Gary


>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to