Closed Bug 235695 Opened 21 years ago Closed 21 years ago

nsMIMEInfoImpl and subclasses don't need two ctors

Categories

(Core Graveyard :: File Handling, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.7beta

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

Attachments

(2 files)

instead of: nsMIMEInfoImpl() and nsMIMEInfoImpl(const char*) this would suffice: nsMIMEInfoImpl(const char* type = "");
I decided to inline the subclasses' ctor too, as it just calls the superclass ctor anyway.
Attachment #142384 - Flags: review?(bzbarsky)
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.7beta
Comment on attachment 142384 [details] [diff] [review] patch (checked in) r=bzbarsky
Attachment #142384 - Flags: review?(bzbarsky) → review+
Attachment #142384 - Flags: superreview?(darin)
Comment on attachment 142384 [details] [diff] [review] patch (checked in) sr=darin
Attachment #142384 - Flags: superreview?(darin) → superreview+
Comment on attachment 142384 [details] [diff] [review] patch (checked in) ok... this is checked in now, but it turns out I forgot nsMIMEInfoImpl; and I can also make this ctor NS_HIDDEN. new patch coming.
Attachment #142384 - Attachment description: patch → patch (checked in)
Attachment #143107 - Flags: superreview?(darin)
Attachment #143107 - Flags: review?(bzbarsky)
Comment on attachment 143107 [details] [diff] [review] patch r=bzbarsky
Attachment #143107 - Flags: review?(bzbarsky) → review+
Attachment #143107 - Flags: superreview?(darin) → superreview+
second patch checked in Checking in nsMIMEInfoImpl.h; /cvsroot/mozilla/uriloader/exthandler/nsMIMEInfoImpl.h,v <-- nsMIMEInfoImpl.h new revision: 1.20; previous revision: 1.19 done all done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: