[ 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org