Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Uri's "path nodes" renamed to "segments" as per URI spec
The "path nodes" of the Uri had nothing to do with PathTree::Nodes or with tree nodes in general. They simply mark portions of the URI's path so that the start and end location of each segment of the URI path are known. Refactored the class implementation to simplify the code and remove redundancies. The manually managed linked list of segments was replaced with a QList. Updated the unit test for the Uri class.
- Loading branch information
Showing
6 changed files
with
217 additions
and
242 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
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
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
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
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
Oops, something went wrong.