Closed Bug 252541 Opened 20 years ago Closed 20 years ago

nsString::IsASCII and IsSpace redundant

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.8alpha3

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

Attachments

(1 file)

IsSpace can be replaced by nsCRT::IsAsciiSpace (they have both the same // XXX
i18n comment... and check for the same characters)

IsASCII can be replaced by the global IsASCII function provided by
nsReadableUtils.h. there's also a version in nsCRT, but that takes
char/PRUnichar buffers, not string objects.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8alpha3
Attachment #154090 - Flags: review?(darin) → review+
Attachment #154090 - Flags: superreview?(dbaron)
Attachment #154090 - Flags: superreview?(dbaron) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: