Skip to content

Commit bda2d18

Browse files
committed
Turn off the Error Prone RedundantControlFlow check: its hits are deliberate skip markers - documented continue-on-skip branches, instanceof-chain marker guards and try-next catch blocks - plus third-party Apache bzip2 code kept aligned with upstream, none of which read as misleading and whose removal would leave empty blocks or drop intent.
1 parent 0833796 commit bda2d18

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎build.gradle‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ configure(allprojects.findAll {it.name != 'bom'}) {
149149
check('NonOverridingEquals', net.ltgt.gradle.errorprone.CheckSeverity.OFF)
150150
check('OperatorPrecedence', net.ltgt.gradle.errorprone.CheckSeverity.OFF)
151151
check('ProtectedMembersInFinalClass', net.ltgt.gradle.errorprone.CheckSeverity.OFF)
152+
check('RedundantControlFlow', net.ltgt.gradle.errorprone.CheckSeverity.OFF)
152153
check('ReferenceEquality', net.ltgt.gradle.errorprone.CheckSeverity.OFF)
153154
check('ReturnFromVoid', net.ltgt.gradle.errorprone.CheckSeverity.OFF)
154155
check('ShortCircuitBoolean', net.ltgt.gradle.errorprone.CheckSeverity.OFF)

0 commit comments

Comments
 (0)