Commit b871934
committed
Fix SpotBugs UC_USELESS_CONDITION warnings and enforce check in CI
Fixed multiple instances of 'Condition has no effect' (UC_USELESS_CONDITION) in core classes including Grid, MenuBar, MathUtil, Component, and others. Updated generate-quality-report.py to treat this violation as a build failure.1 parent eb19cdd commit b871934
File tree
4 files changed
+5
-17
lines changed- CodenameOne/src/com/codename1
- impl
- ui/html
- util
4 files changed
+5
-17
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7448 | 7448 | | |
7449 | 7449 | | |
7450 | 7450 | | |
7451 | | - | |
| 7451 | + | |
| 7452 | + | |
7452 | 7453 | | |
7453 | 7454 | | |
7454 | 7455 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
544 | | - | |
545 | | - | |
| 543 | + | |
| 544 | + | |
546 | 545 | | |
547 | 546 | | |
548 | 547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
| 931 | + | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| |||
This file was deleted.
0 commit comments