You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/12/05 18:46:00 UTC

[jira] [Updated] (NETBEANS-3550) clenaup warnings related to deprecated JUnit Asserts

     [ https://issues.apache.org/jira/browse/NETBEANS-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated NETBEANS-3550:
-------------------------------------
    Labels: pull-request-available  (was: )

> clenaup warnings related to deprecated JUnit Asserts
> ----------------------------------------------------
>
>                 Key: NETBEANS-3550
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3550
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Brad Walker
>            Priority: Major
>              Labels: pull-request-available
>
> There are quite a few errors msgs that are easy to fix..
> {code:java}
>     [repeat] /home/bwalker/src/netbeans/harness/nbjunit/src/org/netbeans/junit/NbModuleSuite.java:56: warning: [deprecation] Assert in junit.framework has been deprecated
>    [repeat] import junit.framework.Assert;
>    [repeat]                       ^
> {code}
> The simple fix is to use the org.junit.Assert class..
> -import junit.framework.Assert;
> +import org.junit.Assert;
> Everything stays the same..
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists