Closed
Bug 1334265
Opened 7 years ago
Closed 7 years ago
'find' called with a string literal consisting of a single character; consider using the more effective overload accepting a character
Categories
(Core :: WebRTC: Networking, defect, P2)
Core
WebRTC: Networking
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: srivatsav1998, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(1 file, 1 obsolete file)
1.05 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
A trivial bug for a new contributor to learn about our workflow here: https://dxr.mozilla.org/mozilla-central/source/media/mtransport/test/ice_unittest.cpp?q=ice_unittest.cpp&redirect_type=direct#239 The "" should be replaced by '' to use a better method
Updated•7 years ago
|
Rank: 29
Priority: -- → P2
Comment 1•7 years ago
|
||
I'm having a lot of trouble getting excited about a trivial performance bug in a unit test, especially given that this syntax is consistent with the rest of the find() invocations.
Reporter | ||
Comment 2•7 years ago
|
||
I won't argue: I am just using that a material for a good first bug for someone to get familiar with our workflow and tools.
Reporter | ||
Updated•7 years ago
|
Keywords: good-first-bug
Whiteboard: [good first bug][lang=C++] → [lang=C++]
Reporter | ||
Comment 4•7 years ago
|
||
Comment on attachment 8831490 [details] [diff] [review] The "" have been replaced by '' You should generate a diff and no upload the full file: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(dankzer1)
Assignee | ||
Comment 5•7 years ago
|
||
I have changed to quotation marks as suggested. Please review it. I don't know exactly whom to ask for review.
Attachment #8832818 -
Flags: review?(rjesup)
Comment 6•7 years ago
|
||
Comment on attachment 8832818 [details] [diff] [review] bug-1334265-fix.patch Review of attachment 8832818 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8832818 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 7•7 years ago
|
||
Hey Randell, When will this patch get landed?
Flags: needinfo?(rjesup)
Reporter | ||
Comment 8•7 years ago
|
||
Well done, this is explained here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction#Step_6_-_Actually_get_the_code_into_the_tree
Assignee: nobody → srivatsav1998
Flags: needinfo?(rjesup)
Flags: needinfo?(dankzer1)
Assignee | ||
Comment 9•7 years ago
|
||
Can you push the patch to try server for me?
Flags: needinfo?(rjesup)
Reporter | ||
Comment 10•7 years ago
|
||
I think we can skip that step :) Just add the keyword
Flags: needinfo?(rjesup)
Assignee | ||
Updated•7 years ago
|
Keywords: good-first-bug → checkin-needed
Reporter | ||
Updated•7 years ago
|
Attachment #8831490 -
Attachment is obsolete: true
Comment 12•7 years ago
|
||
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4d40791b6d0a Replace double quotation marks with single quotation marks in ice_unittest.cpp. r=jesup
Keywords: checkin-needed
Assignee | ||
Comment 13•7 years ago
|
||
Why is the checkin-needed keyword removed? Is there any fault with the patch?
Flags: needinfo?(rjesup)
Reporter | ||
Comment 14•7 years ago
|
||
Because Ryan landed the patch already for you in mozilla-inbound. Oncee it reaches mozilla-central, this bug will be closed! :)
Flags: needinfo?(rjesup)
Comment 15•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4d40791b6d0a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•