Commit 01d8dfa
committed
Fix SpotBugs SA_FIELD_SELF_ASSIGNMENT warnings in gzip package
- Removed redundant self-assignments in `InfBlocks.java` when restoring state in `case TYPE` and `case DRY`.
- Refactored `Inflate.java` to use `this.marker` directly instead of a local variable `m`, eliminating the redundant self-assignment while preserving logic.
- Updated `.github/scripts/generate-quality-report.py` to enforce `SA_FIELD_SELF_ASSIGNMENT` check.1 parent c03d9ae commit 01d8dfa
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
627 | 626 | | |
628 | | - | |
629 | | - | |
630 | | - | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
631 | 630 | | |
632 | | - | |
| 631 | + | |
633 | 632 | | |
634 | | - | |
| 633 | + | |
635 | 634 | | |
636 | 635 | | |
637 | 636 | | |
| |||
641 | 640 | | |
642 | 641 | | |
643 | 642 | | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | 643 | | |
648 | 644 | | |
649 | | - | |
| 645 | + | |
650 | 646 | | |
651 | 647 | | |
652 | 648 | | |
| |||
0 commit comments