Revert "Enable switchBlockAsSingleDecisionPoint (#2383)"#2386
Revert "Enable switchBlockAsSingleDecisionPoint (#2383)"#2386bulldozer-bot[bot] merged 1 commit intodevelopfrom
Conversation
This reverts commit e132e2d.
|
@carterkozak What exactly is failing here? Can we just fix the config instead of reverting? |
| <module name="CyclomaticComplexity"> <!-- Java Coding Guidelines: Reduce Cyclomatic Complexity --> | ||
| <property name="switchBlockAsSingleDecisionPoint">true</property> | ||
| </module> | ||
| <module name="CyclomaticComplexity"/> <!-- Java Coding Guidelines: Reduce Cyclomatic Complexity --> |
There was a problem hiding this comment.
Revert seems fine, but should we just fix this?
| <module name="CyclomaticComplexity"/> <!-- Java Coding Guidelines: Reduce Cyclomatic Complexity --> | |
| <module name="CyclomaticComplexity"> <!-- Java Coding Guidelines: Reduce Cyclomatic Complexity --> | |
| <property name="switchBlockAsSingleDecisionPoint" value="true"/> | |
| </module> |
There was a problem hiding this comment.
also surprised a test didn't catch this, and excavator bump #2385 had to catch the failure
Caused by: org.xml.sax.SAXParseException; systemId: file:/home/circleci/project/.baseline/checkstyle/checkstyle.xml; lineNumber: 406; columnNumber: 63; Attribute "value" is required and must be specified for element type "property".
|
Released 4.166.0 |
My preference is to get back to a known good state asap, unrevert+fix isn't substantially more difficult after the revert has been rolled out, but it means if the second attempt doesn't work, we don't have to do commit archeology to get ourselves back to a stable place. I didn't do enough testing when I approved the earlier PR, so I'd like to ensure I have the time to thoroughly test before we fix forward, and I don't have availability in the next couple hours. I'd really like to see an integration test that prevents this sort of thing moving forward. |
This reverts commit e132e2d.
==COMMIT_MSG==
Revert "Enable switchBlockAsSingleDecisionPoint (#2383)" due to configuration parsing failures.
==COMMIT_MSG==