Re: Why method "assertEmpty(List<Throwable> errors)" in MultipleFailureException is "deprecation" ?
David Saff <[email protected]> Fri, 18 Apr 2014 13:53:31 -0400
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <CALrw-PyFmWjoEp+ouCC6moawDuaxpOPvj7JdipwJXy67xyxm4A@mail.gmail.com> |
Do you mean "@SuppressWarnings("deprecation")"? If so, it's because the
method internally uses deprecated API, but we wanted to suppress the
warnings that would normally result from that.
David
On Mon, Apr 7, 2014 at 3:33 AM, <[email protected]> wrote:
>
>
> Hi members,
> I am studying the JUnit source code. As my subject described , why this
> method is marked by "deprecation" ?
> I'm very appreciate if someone can explain it for me.
> My JUnit version is 4.9.
> Sincerely regards
> Steven.
>
>
>