Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Unified Diff: components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java

Issue 2548013002: Remove redundant field initialization in Java code. (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
diff --git a/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java b/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
index a8517449c7d7d87ee9354a2bf4fe9d6fa5508767..f1fa40b1f53dfb1bdfcf759a892d4a3a0c415af2 100644
--- a/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
+++ b/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
@@ -49,13 +49,13 @@ public class AndroidSyncSettings {
private final SyncContentResolverDelegate mSyncContentResolverDelegate;
- private Account mAccount = null;
+ private Account mAccount;
- private boolean mIsSyncable = false;
+ private boolean mIsSyncable;
- private boolean mChromeSyncEnabled = false;
+ private boolean mChromeSyncEnabled;
- private boolean mMasterSyncEnabled = false;
+ private boolean mMasterSyncEnabled;
private final ObserverList<AndroidSyncSettingsObserver> mObservers =
new ObserverList<AndroidSyncSettingsObserver>();

Powered by Google App Engine
This is Rietveld 408576698