| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
They never should have been protected in the first place, as they are accessible through class methods.
Codecov Report
@@ Coverage Diff @@
## master #181 +/- ##
=======================================
Coverage 95.19% 95.19%
=======================================
Files 35 35
Lines 3140 3140
=======================================
Hits 2989 2989
Misses 151 151
Continue to review full report at Codecov.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Identify the Bug
As by discussion in this PR: #180 . The http_response object contains protected members for no apparent reason. This, besides making the internals of the class visible from the outside, impedes improvement to the code.
Description of the Change
Move the members to the private section.
There wasn't really a good reason for them to be protected in the first place. It was just a residual from before the Jan 2019 cleanup to the http_response chain of dependencies.
Possible Drawbacks
If external code has taken a dependency on these fields, this change would result in a failure for such code.
Verification Process
unit/integration testing. The change will also run through Travis before being pushed.
Release Notes
All protected class members variables in http_response have been changed to be private.