Closed
Bug 290761
Opened 20 years ago
Closed 20 years ago
calIDateTime: rename valid to isValid
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gekacheka, Assigned: vlad)
References
()
Details
Attachments
(1 file)
|
5.97 KB,
patch
|
vlad
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 Build Identifier: trunk Most of the boolean properties are named isXXX, such as isMutable isDate isUTC Suggest that calIDateTime.valid should be calIDateTime.isValid (Consistency is more important when there is no name-checking compiler, as in javascript.) Reproducible: Always Steps to Reproduce:
Comment 1•20 years ago
|
||
Agreed; Vlad, if you also agree, can you make it so?
Assignee: shaver → vladimir
(patch -l -p 2 -i file.patch) patches .valid to .isValid GetValid to GetIsValid in mozilla/calendar/base/public/calIDateTime.idl mozilla/calendar/base/src/calDateTime.cpp mozilla/calendar/base/src/calICSService.cpp mozilla/calendar/base/src/calItemBase.js mozilla/calendar/providers/caldav/calDavCalendar.js mozilla/calendar/providers/memory/calMemoryCalendar.js mozilla/calendar/resources/content/eventDialog.js (untested)
Attachment #182277 -
Flags: first-review?
Comment 3•20 years ago
|
||
Comment on attachment 182277 [details] [diff] [review] rename calIDateTime.valid to calIDateTime.isValid asking review from a specific person is generally prefered...
Attachment #182277 -
Flags: first-review? → first-review?(vladimir)
| Assignee | ||
Comment 4•20 years ago
|
||
Comment on attachment 182277 [details] [diff] [review] rename calIDateTime.valid to calIDateTime.isValid r=vladimir, I assume that's all the uses of .valid in the calendar tree?
Attachment #182277 -
Flags: first-review?(vladimir) → first-review+
Comment 5•20 years ago
|
||
patch checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 6•20 years ago
|
||
You missed a couple of spots (mValid -> mIsValid)
You need to log in
before you can comment on or make changes to this bug.
Description
•