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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.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: chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java b/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java
index 0ad3a0dc58699ed4c7d3156d3565352120612fb0..32a78ef95d0f7d584c3019d4e843d1ceeb5036be 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java
@@ -15,7 +15,7 @@ import org.chromium.chrome.browser.init.ProcessInitializationHandler;
* A Service that provides access to {@link ChromeBrowserSyncAdapter}.
*/
public class ChromeBrowserSyncAdapterService extends Service {
- private static ChromeBrowserSyncAdapter sSyncAdapter = null;
+ private static ChromeBrowserSyncAdapter sSyncAdapter;
private static final Object LOCK = new Object();
/**

Powered by Google App Engine
This is Rietveld 408576698