Skip to content

Small doc and style cleanup #125

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Dec 5, 2019
Merged

Small doc and style cleanup #125

merged 3 commits into from
Dec 5, 2019

Conversation

natebosch
Copy link
Member

Fix some docs to be noun phrases for classes.

Remove some docs that are wholly redundant against the signature.

Remove an unnecessary private typedef.

Rename some methods that start with "get".

Fix some docs to be noun phrases for classes.

Remove some docs that are wholly redundant against the signature.

Remove an unnecessary private typedef.

Rename some methods that start with "get".
@natebosch natebosch requested a review from kevmoo December 5, 2019 20:46
Copy link
Member

@kevmoo kevmoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha! good idea

While you're here, remove author(s) from pubspec?

@@ -153,7 +153,7 @@ Map<String, String> _adjustHeaders(Map<String, String> headers, Body body) {
var sameEncoding = _sameEncoding(headers, body);
if (sameEncoding) {
if (body.contentLength == null ||
findHeader(headers, 'content-length') == body.contentLength.toString()) {
findHeader(headers, 'content-length') == '${body.contentLength}') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kept it as 1 line instead of splitting

@natebosch natebosch merged commit d435c32 into master Dec 5, 2019
@natebosch natebosch deleted the cleanup branch December 5, 2019 21:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants