Closed
Bug 104719
Opened 24 years ago
Closed 24 years ago
Change nsIMsgMailnewsUrl to use attributes instead of getters/setters
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: hwaara, Assigned: hwaara)
Details
Attachments
(1 file)
|
2.30 KB,
patch
|
Bienvenu
:
review+
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
in nsIMsgMailnewsUrl.idl we have lots of SetFoo(in nsIFoo bar) / GetFoo(out
nsIFoo bar). I suggest to simplify this with |attribute nsIFoo bar;|.
This shouldn't break or affect C++, but I will probably have to change some JS code.
| Assignee | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
Surprise, I didn't have to change any callers, so this is merely a tiny IDL change.
I made tabbing/whitespace consistent by making the few spaces be tabs (you want
me to spacify it all intead? ;)
Seeking rs=/sr= from bienvenu or sspitzer
Status: NEW → ASSIGNED
Summary: Make nsIMsgMailnewsUrl to use attributes instead of getters/setters → Change nsIMsgMailnewsUrl to use attributes instead of getters/setters
Comment 3•24 years ago
|
||
> Surprise, I didn't have to change any callers
use lxr to double check your changes.
/mailnews/base/resources/content/msgPrintEngine.js, line 62 --
printEngine.SetStatusFeedback(statusFeedback);
Comment 4•24 years ago
|
||
whoops, sorry about that.
that is is from the nsIMsgPrintEngine interface.
I'll go check the rest and then give a review.
Comment 5•24 years ago
|
||
Comment on attachment 53488 [details] [diff] [review]
patch -- change IDL to be a little smarter
sr=sspitzer
Attachment #53488 -
Flags: superreview+
| Assignee | ||
Comment 6•24 years ago
|
||
SetErrorMessage/GetErrorMessage are unused. Can I remove them as well, while I'm
at it?
Comment 7•24 years ago
|
||
Comment on attachment 53488 [details] [diff] [review]
patch -- change IDL to be a little smarter
r=bienvenu
Attachment #53488 -
Flags: review+
| Assignee | ||
Comment 8•24 years ago
|
||
Thanks for the reviews guys, and nevermind that last comment; it was used
internally.
| Assignee | ||
Comment 9•24 years ago
|
||
fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•24 years ago
|
QA Contact: esther → stephend
1.22 hwaara%chello.se Oct 15 15:26 #104719, change nsIMsgMailNewsUrl.idl to use
attributes rather than GetFoo/SetFoo.
r=bienvenu, sr=sspitzer
Patch was checked in, marking Verified FIXED.
Status: RESOLVED → VERIFIED
Hardware: PC → All
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•