Closed Bug 560010 Opened 14 years ago Closed 14 years ago

Remove names from getters and setters in mail/ and mailnews/

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.1b2

People

(Reporter: rain1, Assigned: rain1)

References

()

Details

Attachments

(1 file)

Bug 517580 seems to have removed named getters using the get syntax from SpiderMonkey. We should get rid of them as well.
(and setters too)
Summary: Remove named getters from mail/ and mailnews/ → Remove named getters and setters from mail/ and mailnews/
Attached patch patchSplinter Review
The URL I linked to isn't comprehensive, but the two regexes "^ *(get|set) +[A-Za-z_]+ +[A-Za-z_]+" (single line) and "^ *(get|set) +[A-Za-z_]+ *$" (multi-line definition) should cover all the cases we have. I've verified with egrep that those two regexes don't match anything else in either mail/ or mailnews/.
Assignee: nobody → sid.bugzilla
Status: NEW → ASSIGNED
Attachment #439681 - Flags: superreview?(bienvenu)
Attachment #439681 - Flags: review?(bugmail)
Attachment #439681 - Flags: review?(bugmail) → review+
Attachment #439681 - Flags: superreview?(bienvenu) → superreview+
[clarified the summary a little]

http://hg.mozilla.org/comm-central/rev/2897f71b5ce2
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Summary: Remove named getters and setters from mail/ and mailnews/ → Remove names from getters and setters in mail/ and mailnews/
Target Milestone: --- → Thunderbird 3.1b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: