Convert some occurences of ns*Array.IndexOf(elem) != kNotFound to ns*Array.Contains(elem)

RESOLVED FIXED in Thunderbird 37.0

Status

MailNews Core
Backend
--
trivial
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: aceman, Assigned: aceman)

Tracking

Trunk
Thunderbird 37.0

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

6.47 KB, patch
neil@parkwaycc.co.uk
: review+
Details | Diff | Splinter Review
(Assignee)

Description

3 years ago
Using the native ns*Array.Contains(elem) function seems more correct.
(Assignee)

Comment 1

3 years ago
Created attachment 8540943 [details] [diff] [review]
patch
Attachment #8540943 - Flags: review?(neil)
(Assignee)

Comment 2

3 years ago
Created attachment 8540951 [details] [diff] [review]
patch v2

One more.
Attachment #8540943 - Attachment is obsolete: true
Attachment #8540943 - Flags: review?(neil)
Attachment #8540951 - Flags: review?(neil)

Comment 3

3 years ago
Comment on attachment 8540951 [details] [diff] [review]
patch v2

r=me by code inspection.
Attachment #8540951 - Flags: review?(neil) → review+
(Assignee)

Comment 4

3 years ago
Thaks.
Keywords: checkin-needed

Comment 5

3 years ago
https://hg.mozilla.org/comm-central/rev/47fbea249717 -> FIXED
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 37.0
You need to log in before you can comment on or make changes to this bug.