Closed
Bug 75723
Opened 23 years ago
Closed 23 years ago
string bundle service needs to use nsCOMPtr
Categories
(Core :: Internationalization, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.1
People
(Reporter: jud, Assigned: jud)
Details
Attachments
(1 file)
13.05 KB,
patch
|
Details | Diff | Splinter Review |
While evaluating users of the std url I found dead use of one in the string bundle service. while in the string bundle service I cleaned it up a bit. - removed unused stdurl (mScratchURI) member var - comptr'ized interface pointers - removed layered openInputStream chain of methods - gave extensible bundle an init method. this is the biggest piece that needs reviewing as I changed some more timid error handling into more forceful (exit the function) and am not 100% it's right). - removed extraneous NS_ENSURE_TRUE usage for mProps (we were always doing a validation check before calling it) - removed unused locale arg from CreateExtensibleBundle. the one on CreateBundle should go away too (it's not used), but that would be a lot of callsites to change.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
alec - sr? tao - r?
Keywords: patch
Target Milestone: --- → mozilla0.9.1
Comment 3•23 years ago
|
||
jud, you rock! sr=alecf
Thanks for cleaning these up. Especially the inputStream() parts and the deprecated arg, nsILocale. As to the introduced init() method of the extensibleBundle, I am for it. Although, I am not the original author of the code, it looks good. r=tao.
Assignee | ||
Comment 5•23 years ago
|
||
changes are in. thanks!
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 6•23 years ago
|
||
Changing QA Contact to ftang@netscape.com. Can you verify this within development or provide QA with a test case? Thanks.
QA Contact: andreasb → ftang
You need to log in
before you can comment on or make changes to this bug.
Description
•