You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "fanshilun (Jira)" <ji...@apache.org> on 2022/05/23 14:27:00 UTC

[jira] [Resolved] (HADOOP-18248) Fix Junit Test Deprecated assertThat

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

fanshilun resolved HADOOP-18248.
--------------------------------
    Resolution: Duplicate

> Fix Junit Test Deprecated assertThat
> ------------------------------------
>
>                 Key: HADOOP-18248
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18248
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.4.0
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> javac will give a warning for compilation, as follows:
> org.junit.Assert.assertThat Deprecated. use org.hamcrest.MatcherAssert.assertThat()
> {code:java}
> TestIncrementalBrVariations.java:141:4:[deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated {code}
> a related issue will be resolved in HDFS-16590.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org