-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use switches instead of if-else in DocFitter (#1080)
* refactor: use switch instead of chained if-else in DocFitter In a chained if-else the debugger in Rider stops on a condition of each branch, but in a switch statement the debugger jumps right to the executed branch and it speed up debugging * refactor: Use switch expression instead of if-else It speeds up debugging because the debugger doesn't stops on the curly braces of the branches * style: Remove unnecessary braces in DocFitter --------- Co-authored-by: Lasath Fernando <[email protected]>
- Loading branch information
1 parent
43ba8d7
commit 60ae841
Showing
1 changed file
with
48 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters