Closed Bug 75723 Opened 24 years ago Closed 24 years ago

string bundle service needs to use nsCOMPtr

Categories

(Core :: Internationalization, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.1

People

(Reporter: jud, Assigned: jud)

Details

Attachments

(1 file)

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.
alec - sr? tao - r?
Keywords: patch
Target Milestone: --- → mozilla0.9.1
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.
changes are in. thanks!
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
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.

Attachment

General

Creator:
Created:
Updated:
Size: