Commit d4d83cc
committed
Simplify textRows.readRow
Refactor textRows.readRow to improve readability:
* simplified flow:
* reduced maximum indent level
* return error early
* remove 3 'continue'
* remove one type cast
* remove one obsolete comment about readLengthEncodedString
* -6 lines of code1 parent 12508c8 commit d4d83cc
1 file changed
+20
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
761 | 761 | | |
762 | 762 | | |
763 | 763 | | |
764 | | - | |
765 | | - | |
766 | 764 | | |
767 | 765 | | |
768 | 766 | | |
769 | | - | |
770 | | - | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
771 | 771 | | |
772 | | - | |
773 | | - | |
774 | | - | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
775 | 784 | | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | 785 | | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
| 786 | + | |
795 | 787 | | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
796 | 791 | | |
797 | | - | |
798 | 792 | | |
799 | 793 | | |
800 | 794 | | |
| |||
0 commit comments