Commit 65d3796
committed
Fix SpotBugs SBSC_USE_STRINGBUFFER_CONCATENATION warnings
Replaced string concatenation in loops with StringBuilder in multiple files to improve performance and satisfy SpotBugs checks.
Updated .github/scripts/generate-quality-report.py to fail on this violation.
Fixed compilation errors in ComponentSelector and InnerActive by calling toString() before indexOf/substring on StringBuilder, as CN1's StringBuilder lacks these methods.1 parent 0834dac commit 65d3796
File tree
2 files changed
+2
-2
lines changed- CodenameOne/src/com/codename1
- ads
- ui
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2231 | 2231 | | |
2232 | 2232 | | |
2233 | 2233 | | |
2234 | | - | |
| 2234 | + | |
2235 | 2235 | | |
2236 | 2236 | | |
2237 | 2237 | | |
| |||
0 commit comments