Commit aa61d58
committed
Fix UC_USELESS_CONDITION SpotBugs warnings and compilation error
Fixed UC_USELESS_CONDITION warnings across 13 files and resolved a compilation error in ComponentGroup.java.
Updated .github/scripts/generate-quality-report.py to fail on this violation.
Notable fixes:
- ComponentGroup.java: Added missing import for Layout class.
- CSSParser.java: Fixed char to byte cast comparison that caused premature EOF on extended ASCII.
- ResourceThreadQueue.java: Fixed variable shadowing and added volatile to cancelled flag.
- UnitValue.java: Fixed condition checking operation type.
- XMLParser.java: Used Character.toLowerCase instead of manual range check.
- Various cleanups in Grid.java, MenuBar.java, Component.java, etc.1 parent eb1f364 commit aa61d58
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments