Closed
Bug 488142
Opened 16 years ago
Closed 16 years ago
Make it easier to add simple deferred cleartext/payload values
Categories
(Cloud Services :: General, defect)
Cloud Services
General
Tracking
(Not tracked)
RESOLVED
FIXED
0.4
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
A bunch of records use the pattern making a getter that defers to .payload or .cleartext, so we end up duplicating a lot of simple code with tiny changes.
| Assignee | ||
Comment 1•16 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/e4ac6abdce16
Add a couple Utils helper to create a pair of simple [gs]etters that use a hash property instead. Apply this to various records: WBORecord, {Priv,Pub}Key, Crypto{Meta,Wrapper}, and every engine's type records. Migrate by making sure key data exists (name change).
Assignee: nobody → edilee
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: -- → 0.4
Updated•16 years ago
|
Component: Weave → General
Product: Mozilla Labs → Weave
Version: Trunk → unspecified
Updated•16 years ago
|
QA Contact: weave → general
You need to log in
before you can comment on or make changes to this bug.
Description
•