Commit 8eb3042
committed
Fix SpotBugs SA_FIELD_SELF_ASSIGNMENT warnings in InfBlocks.java
- Replaced unconditional assignments of `bitb`, `bitk`, and `write` with conditional assignments to avoid self-assignment warnings while preserving logic.
- Removed redundant assignments where applicable.
- Updated `.github/scripts/generate-quality-report.py` to enforce `SA_FIELD_SELF_ASSIGNMENT` check on `InfBlocks.java`.1 parent 45c2605 commit 8eb3042
File tree
2 files changed
+18
-8
lines changed- .github/scripts
- CodenameOne/src/com/codename1/io/gzip
2 files changed
+18
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
781 | | - | |
782 | 781 | | |
783 | 782 | | |
784 | 783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
158 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| |||
214 | 220 | | |
215 | 221 | | |
216 | 222 | | |
217 | | - | |
218 | 223 | | |
219 | 224 | | |
220 | 225 | | |
| |||
247 | 252 | | |
248 | 253 | | |
249 | 254 | | |
250 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
251 | 258 | | |
252 | 259 | | |
253 | 260 | | |
| |||
261 | 268 | | |
262 | 269 | | |
263 | 270 | | |
264 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
265 | 274 | | |
266 | 275 | | |
267 | 276 | | |
| |||
564 | 573 | | |
565 | 574 | | |
566 | 575 | | |
567 | | - | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
568 | 579 | | |
569 | 580 | | |
570 | 581 | | |
| |||
0 commit comments