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

fanshilun updated HADOOP-18248:
-------------------------------
    Description: 
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.

  was:
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}
 


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to