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

Unified Diff: components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.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/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java
diff --git a/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java b/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java
index bd4d2df8b7f42a79c27245eb8a69ed5a747e6e37..4ad376acb870a7021aa1e2018ffcfb10e2f7f440 100644
--- a/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java
+++ b/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java
@@ -31,7 +31,7 @@ public class InstanceIDWithSubtype extends InstanceID {
/** Fake subclasses can set this so getInstance creates instances of them. */
@VisibleForTesting
@SuppressFBWarnings("MS_SHOULD_BE_FINAL")
- protected static FakeFactory sFakeFactoryForTesting = null;
+ protected static FakeFactory sFakeFactoryForTesting;
protected InstanceIDWithSubtype(Context context, String subtype) {
super(context, subtype, null /* options */);

Powered by Google App Engine
This is Rietveld 408576698