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

Unified Diff: components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.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/InstanceIDBridge.java
diff --git a/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java b/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java
index d1810ee408db4ecc69f98a50b3bbbe4744d20a6b..f819390a63e48e24ee19d0e6771515277cbe36a6 100644
--- a/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java
+++ b/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java
@@ -29,9 +29,9 @@ public class InstanceIDBridge {
* Underlying InstanceID. May be shared by multiple InstanceIDBridges. Must be initialized on
* a background thread.
*/
- private InstanceID mInstanceID = null;
+ private InstanceID mInstanceID;
- private static boolean sBlockOnAsyncTasksForTesting = false;
+ private static boolean sBlockOnAsyncTasksForTesting;
private InstanceIDBridge(
long nativeInstanceIDAndroid, Context context, String subtype) {

Powered by Google App Engine
This is Rietveld 408576698