-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With the goal to further simplify the code, this commit applies the single responsibility principle to the query method. This is done by removing the validation extra-functionality into a read_response method which is now called after the query. The read_response method accepts the expected response as optional argument so that the response can be validated in a uniform way. Additionally resolved several issues reported by static code analysis.
- Loading branch information
Showing
1 changed file
with
81 additions
and
90 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