Files
gerrit/java/com
Edwin Kempin 52f131ab68 Allow to update account and diff preferences atomically
AccountsUpdate now also support to update the diff preferences and
AccountState makes them accessible. This means diff preferences are now
also cached, but since the parsing of the diff preferences is done
lazily this doesn't make loading of accounts any more expensive (the
preferences.config file that contains the diff preferences is already
loaded because it also contains the general preferences).

Some methods in PreferencesConfig exist now twice, once for general
preferences and once for diff preferences. Future changes may make an
effort to remove code duplication, but for now we are happy that these
methods are in the same place now and that the handling of general
preferences and diff preferences is consistent now.

Change-Id: I5d116fbdf5593be4e701863b12fb7cf8f5eea9ad
Signed-off-by: Edwin Kempin <ekempin@google.com>
2018-01-18 14:35:21 +01:00
..