Skip to content

Commit 7464849

Browse files
authored
fix build on java 11 (via allure-framework#334)
1 parent 5abd12f commit 7464849

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

gradle/quality-configs/spotbugs/exclude.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
<!-- Disabled as confusing check (very misleading description) and also not so useful -->
2020
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
2121
</Match>
22+
<Match>
23+
<!-- Disabled due to bug in Java 11 with try-with-resources -->
24+
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
25+
</Match>
2226

2327

2428
<!-- Do not check class -->

0 commit comments

Comments
 (0)