Unnecessay If else block in core/lib/Drupal/Core/Archiver/ArchiveTar.php
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | Unnecessay_If_else_block-2818249-11.patch | 719 bytes | Patil_kunal27 |
| #6 | Unnecessay_If_else_block-2818249-6.patch | 730 bytes | lomasr |
| #4 | Unnecessay_If_else_block-2818249-3.patch | 722 bytes | lomasr |
| #2 | Unnecessay_If_else_block-2818249-2.patch | 845 bytes | Patil_kunal27 |
Comments
Comment #2
Patil_kunal27 commentedRemoved Unnecessary If else block
Comment #3
sam152 commentedThere are some whitespace issues in the patch.
Comment #4
lomasr commentedPatch worked cleanly but some white space issues. Removed in the patch.
Comment #5
sam152 commentedThis is still not indented properly.
Comment #6
lomasr commentedSorry about that.
Comment #7
sam152 commentedComment #10
Anonymous (not verified) commentedYou sure that this "Unnecessay If else" problem? Look on prev comment:
highlight:
You can looks on this like:
It seems proposed patch breaks this logic. But the code of this file is definitely in need of refactoring.
Comment #11
Patil_kunal27 commentedRemoved the white spaces problem from previous patch
Comment #12
Anonymous (not verified) commentedIt looks like Support request. If my explanation by #10 is not clear for you, сan you explain the algorithm after this patch, please?
Comment #13
Anonymous (not verified) commentedComment #16
Anonymous (not verified) commentedIt seems none of the participants need support or discussion :). Change to Fixed, because code has not "unnecessay if else block", see #10. Please re-open, if you think otherwise. Thanks!