This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: FindBugs?

1 reply
Kevin Wright 2
Joined: 2010-05-30,
User offline. Last seen 26 weeks 4 days ago.


On 22 Mar 2011 13:31, "Nils Kilden-Pedersen" <nilskp@gmail.com> wrote:
>
> Has anyone on the compiler team looked into the warnings generated by FindBugs? I'm not sure if they are false positives are if they in some cases are indicative of real issues.

Some things that are bad in Java are best practices in Scala, partly because the compiler can do them "safely".

Our best bet is probably just to create a set of FindBugs rules that won't flag up any such false positives.

nilskp
Joined: 2009-01-30,
User offline. Last seen 1 year 27 weeks ago.
Re: FindBugs?
On Tue, Mar 22, 2011 at 9:33 AM, Kevin Wright <kev.lee.wright@gmail.com> wrote:


On 22 Mar 2011 13:31, "Nils Kilden-Pedersen" <nilskp@gmail.com> wrote:
>
> Has anyone on the compiler team looked into the warnings generated by FindBugs? I'm not sure if they are false positives are if they in some cases are indicative of real issues.

Some things that are bad in Java are best practices in Scala, partly because the compiler can do them "safely".

For example?

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland