Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable errorprone's ExpectedExceptionChecker #1508

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

Oberon00
Copy link
Member

@Oberon00 Oberon00 commented Aug 5, 2020

Since we migrated to a newer Junit (even later Junit 4 versions would have had assertThrows; AssertJ has assertThatExceptionOfType().isThrownBy) and Java 8, we can use assertThrows.

I think the actual refactoring was already done in #1489 by @anuraaga (thank you!), so this only needs to re-enable the warning.

Since we migrated to a newer Junit (even later Junit 4 versions would have had assertThrows) and Java 8, we can use assertThrows.
@codecov
Copy link

codecov bot commented Aug 5, 2020

Codecov Report

Merging #1508 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1508   +/-   ##
=========================================
  Coverage     92.33%   92.33%           
  Complexity      951      951           
=========================================
  Files           117      117           
  Lines          3380     3380           
  Branches        281      281           
=========================================
  Hits           3121     3121           
  Misses          172      172           
  Partials         87       87           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b59a10e...4da7cf3. Read the comment docs.

@jkwatson jkwatson merged commit ccd2f03 into open-telemetry:master Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants