[
https://issues.apache.org/jira/browse/OFBIZ-12137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17265028#comment-17265028 ]
ASF subversion and git services commented on OFBIZ-12137:
---------------------------------------------------------
Commit 7830328bb4d108b2427c9e1830876030fa0386eb in ofbiz-framework's branch refs/heads/trunk from Daniel Watford
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=7830328 ]
Improved: Removed deprecated ExpectedException.none from tests
(OFBIZ-12137)
Prevents logging of deprecation warnings during the build.
> Remove use of deprecated JUnit rule ExpectedException.none() from tests
> -----------------------------------------------------------------------
>
> Key: OFBIZ-12137
> URL:
https://issues.apache.org/jira/browse/OFBIZ-12137> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Daniel Watford
> Assignee: Daniel Watford
> Priority: Trivial
>
> Test classes OfbizStartupUnitTests and DelegatorUnitTests use deprecated junit method ExpectedException.none().
> Recommendation in junit docs is to use Assert.assertThrows() instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)