1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-28 04:02:19 -05:00

Code cleanup; no functional changes

This commit is contained in:
cketti 2011-12-11 05:03:53 +01:00
parent 18a58e2872
commit 345f4c2939
2 changed files with 8 additions and 8 deletions

View File

@ -41,12 +41,12 @@ public class AccountSettings {
s.put("cryptoApp", Settings.versions( s.put("cryptoApp", Settings.versions(
new V(1, new StringSetting(Apg.NAME)) new V(1, new StringSetting(Apg.NAME))
)); ));
s.put("cryptoAutoEncrypt", Settings.versions(
new V(3, new BooleanSetting(false))
));
s.put("cryptoAutoSignature", Settings.versions( s.put("cryptoAutoSignature", Settings.versions(
new V(1, new BooleanSetting(false)) new V(1, new BooleanSetting(false))
)); ));
s.put("cryptoAutoEncrypt", Settings.versions(
new V(3, new BooleanSetting(false)) // added to version 3
));
s.put("defaultQuotedTextShown", Settings.versions( s.put("defaultQuotedTextShown", Settings.versions(
new V(1, new BooleanSetting(Account.DEFAULT_QUOTED_TEXT_SHOWN)) new V(1, new BooleanSetting(Account.DEFAULT_QUOTED_TEXT_SHOWN))
)); ));
@ -119,7 +119,7 @@ public class AccountSettings {
Account.DEFAULT_MESSAGE_FORMAT)) Account.DEFAULT_MESSAGE_FORMAT))
)); ));
s.put("messageFormatAuto", Settings.versions( s.put("messageFormatAuto", Settings.versions(
new V(2, new BooleanSetting(Account.DEFAULT_MESSAGE_FORMAT_AUTO)) // added to version 2 new V(2, new BooleanSetting(Account.DEFAULT_MESSAGE_FORMAT_AUTO))
)); ));
s.put("messageReadReceipt", Settings.versions( s.put("messageReadReceipt", Settings.versions(
new V(1, new BooleanSetting(Account.DEFAULT_MESSAGE_READ_RECEIPT)) new V(1, new BooleanSetting(Account.DEFAULT_MESSAGE_READ_RECEIPT))
@ -148,9 +148,6 @@ public class AccountSettings {
s.put("replyAfterQuote", Settings.versions( s.put("replyAfterQuote", Settings.versions(
new V(1, new BooleanSetting(Account.DEFAULT_REPLY_AFTER_QUOTE)) new V(1, new BooleanSetting(Account.DEFAULT_REPLY_AFTER_QUOTE))
)); ));
s.put("stripSignature", Settings.versions(
new V(2, new BooleanSetting(Account.DEFAULT_STRIP_SIGNATURE)) // added to version 2
));
s.put("ring", Settings.versions( s.put("ring", Settings.versions(
new V(1, new BooleanSetting(true)) new V(1, new BooleanSetting(true))
)); ));
@ -175,6 +172,9 @@ public class AccountSettings {
s.put("spamFolderName", Settings.versions( s.put("spamFolderName", Settings.versions(
new V(1, new StringSetting("Spam")) new V(1, new StringSetting("Spam"))
)); ));
s.put("stripSignature", Settings.versions(
new V(2, new BooleanSetting(Account.DEFAULT_STRIP_SIGNATURE))
));
s.put("subscribedFoldersOnly", Settings.versions( s.put("subscribedFoldersOnly", Settings.versions(
new V(1, new BooleanSetting(false)) new V(1, new BooleanSetting(false))
)); ));

View File

@ -45,7 +45,7 @@ public class GlobalSettings {
new V(1, new BooleanSetting(false)) new V(1, new BooleanSetting(false))
)); ));
s.put("confirmDeleteStarred", Settings.versions( s.put("confirmDeleteStarred", Settings.versions(
new V(2, new BooleanSetting(false)) // added to version 2 new V(2, new BooleanSetting(false))
)); ));
s.put("confirmMarkAllAsRead", Settings.versions( s.put("confirmMarkAllAsRead", Settings.versions(
new V(1, new BooleanSetting(false)) new V(1, new BooleanSetting(false))