Closed Bug 1209914 Opened 7 years ago Closed 7 years ago
JSON methods instead of explicit _serialize To JSON calls
- The aFilter parameter of SRCH_ENG__serializeToJSON(aFilter) is never 'used' (it's always true), and makes the code harder to read. - The explicit _serializeToJSON calls make the code just more complicated, when naming the methods toJSON achieves the same behavior automatically.
Attachment #8667818 - Flags: review?(adw)
You need to log in before you can comment on or make changes to this bug.