[
https://issues.apache.org/jira/browse/HADOOP-18248?focusedWorklogId=772659&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-772659
]
ASF GitHub Bot logged work on HADOOP-18248:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 20/May/22 03:21
Start Date: 20/May/22 03:21
Worklog Time Spent: 10m
Work Description: slfan1989 opened a new pull request, #4334:
URL: https://github.com/apache/hadoop/pull/4334
JIRA: HADOOP-18248 Fix Junit Test Deprecated assertThat
javac will give a warning for compilation, as follows:
TestIncrementalBrVariations.java:141:4:[deprecation]
<T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
org.junit.Assert.assertThat Deprecated. use
org.hamcrest.MatcherAssert.assertThat()
Issue Time Tracking
-------------------
Worklog Id: (was: 772659)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Fix For: 3.4.0
>
> Time Spent: 10m
> 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}
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]