Commit f3e35c7
committed
Fix UC_USELESS_CONDITION SpotBugs warnings
Resolves "Condition has no effect" warnings in:
- HTMLComponent.java (Redundant SUPPORT_CSS check, fix variable shadowing)
- CSSEngine.java (Redundant indent >= 0 check)
- CSSParser.java (Incorrect EOF check for char)
- RECharacter.java (Duplicate whitespace check)
- Updated generate-quality-report.py to enforce this rule.1 parent 36d92ee commit f3e35c7
File tree
4 files changed
+7
-9
lines changed- CodenameOne/src/com/codename1
- ui/html
- util/regex
4 files changed
+7
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1338 | 1338 | | |
1339 | 1339 | | |
1340 | 1340 | | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
| 1341 | + | |
1344 | 1342 | | |
1345 | 1343 | | |
1346 | 1344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1801 | 1801 | | |
1802 | 1802 | | |
1803 | 1803 | | |
1804 | | - | |
| 1804 | + | |
1805 | 1805 | | |
1806 | 1806 | | |
1807 | 1807 | | |
| |||
2968 | 2968 | | |
2969 | 2969 | | |
2970 | 2970 | | |
2971 | | - | |
2972 | | - | |
2973 | | - | |
| 2971 | + | |
| 2972 | + | |
| 2973 | + | |
2974 | 2974 | | |
2975 | 2975 | | |
2976 | 2976 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments