Commit db63aef
committed
Fix repeated conditional tests warnings and enforce rule in CI
Fixed RpC_REPEATED_CONDITIONAL_TEST violations in:
- GridBagConstraints.java: Fixed copy-paste error in insets check
- CSSBorder.java: Fixed redundant quote check
- ImageViewer.java: Fixed logic in keyReleased method
- Container.java: Simplified componentAt logic
- Form.java: Removed redundant nested if check
Updated generate-quality-report.py to enforce this rule.1 parent b351252 commit db63aef
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1462 | 1462 | | |
1463 | 1463 | | |
1464 | 1464 | | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
1470 | 1468 | | |
1471 | 1469 | | |
1472 | 1470 | | |
| |||
0 commit comments