Closed Bug 545764 Opened 14 years ago Closed 14 years ago

Convert constructor -> _init pattern to just use constructor

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

It's an extra level of indirection and makes it difficult to pass in extra arguments to the constructor/init and the various sub/super classes.
Blocks: 545767
http://hg.mozilla.org/labs/weave/rev/fc79dfe7e5f3
Inline various _init calls and do super's init with <Super>.call(this, args..). Add various get/set sugar to those missing e.g., meta.keyring. Also simplify crypto record creation by setting cleartext in the parent. 

!  24 files changed, 157 insertions(+), 357 deletions(-)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.