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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/InterfaceRegistrar.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: content/public/android/java/src/org/chromium/content_public/browser/InterfaceRegistrar.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/InterfaceRegistrar.java b/content/public/android/java/src/org/chromium/content_public/browser/InterfaceRegistrar.java
index 03a7bd81e3216dec9deb6d2de44004c048df8457..45b3ffe0f44d27d09f35fc5521ddc5c49f516012 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/InterfaceRegistrar.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/InterfaceRegistrar.java
@@ -23,8 +23,8 @@ public interface InterfaceRegistrar<ParamType> {
/** A registry of InterfaceRegistrars. */
public static class Registry<ParamType> {
- private static Registry<Context> sContextRegistry = null;
- private static Registry<WebContents> sWebContentsRegistry = null;
+ private static Registry<Context> sContextRegistry;
+ private static Registry<WebContents> sWebContentsRegistry;
private List<InterfaceRegistrar<ParamType>> mRegistrars =
new ArrayList<InterfaceRegistrar<ParamType>>();

Powered by Google App Engine
This is Rietveld 408576698