Reducing parameter bloat
Sebastian Spaeth
Sebastian at SSpaeth.de
Thu Sep 15 16:53:45 BST 2011
Another cleanup series. I have been annoyed by the number of parameters
that we pass in to the construction of the Folder(). Most of the
parameters we can calculate anyway, and some of them were set in all
backends in the same way, when doing it once in the BaseFolder would
suffice.
I split the cleanup in a series of patches, removing one parameter at a
time. It is probably easier to review the series diff in one go, as all
patches touch mostly the same lines :).
The series diff attached to this file, the full series as a reply. The
topic only saves 20 lines or so, but it reduces the number of parameters
that we pass around quite a bit too.
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110915/af493dac/attachment.sig>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110915/af493dac/attachment-0002.ksh>
More information about the OfflineIMAP-project
mailing list