[
https://issues.apache.org/jira/browse/BEAM-11572?focusedWorklogId=531696&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-531696
]
ASF GitHub Bot logged work on BEAM-11572:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Jan/21 05:01
Start Date: 06/Jan/21 05:01
Worklog Time Spent: 10m
Work Description: ibzib commented on pull request #13673:
URL: https://github.com/apache/beam/pull/13673#issuecomment-755079304
> Can you guide me on how to add that check?
You can add it to our
[checkstyle.xml](https://github.com/apache/beam/blob/master/sdks/java/build-tools/src/main/resources/beam/checkstyle.xml)
config.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 531696)
Time Spent: 50m (was: 40m)
> Use MatcherAssert#assertThat instead of deprecated Assert#assertThat
> --------------------------------------------------------------------
>
> Key: BEAM-11572
> URL: https://issues.apache.org/jira/browse/BEAM-11572
> Project: Beam
> Issue Type: Improvement
> Components: testing
> Affects Versions: 2.26.0
> Reporter: Anant Damle
> Assignee: Anant Damle
> Priority: P2
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Beam tests usesĀ *deprecated*
> [Assert#assertThat|https://junit.org/junit4/javadoc/latest/org/junit/Assert.html#assertThat(T,%20org.hamcrest.Matcher)]
> which needs to be changed to
> [MatcherAssert#assertThat|https://junit.org/junit4/javadoc/latest/org/hamcrest/MatcherAssert.html#assertThat(T,%20org.hamcrest.Matcher)]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)