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

Unified Diff: components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.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/ModelTypeHelper.java
diff --git a/components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.java b/components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.java
index de5dcfec5bd05342ffb533609a245889862bd0ad..ecdae4ef3fcd3e14e6b74aae87325c03866445c4 100644
--- a/components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.java
+++ b/components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.java
@@ -36,12 +36,12 @@ public class ModelTypeHelper {
private static final int[] NON_INVALIDATION_TYPES_ARRAY = new int[] {ModelType.PROXY_TABS};
- private static TestDelegate sDelegate = null;
+ private static TestDelegate sDelegate;
// Convenience sets for checking whether a type can have invalidations. Some ModelTypes
// such as PROXY_TABS are not real types and can't be registered. Initializing these
// once reduces toNotificationType() calls in the isInvalidationType() method.
- private static Set<String> sNonInvalidationTypes = null;
+ private static Set<String> sNonInvalidationTypes;
/**
* Initializes the non-invalidation sets. Called lazily the first time they're needed.

Powered by Google App Engine
This is Rietveld 408576698