Closed Bug 1161957 Opened 9 years ago Closed 9 years ago

Rename the openLines() function to make the intent clearer

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gsvelto, Assigned: gsvelto)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1160337 +++

This is a quick follow up to bug 1160337 to address one of the review comments. The openLines()' function name implicitly suggests that it might return a boolean rather than a count. We should rename it numOpenLines().
Comment on attachment 8602103 [details] [review]
[gaia] gabrielesvelto:bug-1161957-rename-open-lines > mozilla-b2g:master

Straightforward change, sorry for not having noticed your comment before landing in the parent bug.
Attachment #8602103 - Flags: review?(drs)
Comment on attachment 8602103 [details] [review]
[gaia] gabrielesvelto:bug-1161957-rename-open-lines > mozilla-b2g:master

Looks good, thanks. I left one comment on the PR just about our general approach to testing, but you can go ahead and land this as-is.
Attachment #8602103 - Flags: review?(drs) → review+
(In reply to Doug Sherk (:drs) (use needinfo?) from comment #3)
> Looks good, thanks. I left one comment on the PR just about our general
> approach to testing, but you can go ahead and land this as-is.

I agree that would be suitable for inclusion in unit-testing from a theoretical perspective but it's also so small and straightforward that I'm not sure if it's worth the extra run-time.
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Keywords: checkin-needed
https://github.com/mozilla-b2g/gaia/pull/29917

Autolander could not land the pull request due to not having collaborator rights. This is possibly due to a tree closure. Please check the tree status and request checkin again once the tree is open.
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: