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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.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/customtabs/RequestThrottler.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java
index c002c7b08012d399660aba48e5dff810a948366f..4d415f88d17d0b77df7d4514783d2c9f14c34ce5 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java
@@ -46,14 +46,14 @@ class RequestThrottler {
private static final String LAST_REQUEST = "last_request_";
private static final String BANNED_UNTIL = "banned_until_";
- private static SparseArray<RequestThrottler> sUidToThrottler = null;
+ private static SparseArray<RequestThrottler> sUidToThrottler;
private final SharedPreferences mSharedPreferences;
private final int mUid;
private float mScore;
private long mLastPrerenderRequestMs;
private long mBannedUntilMs;
- private String mUrl = null;
+ private String mUrl;
/**
* Updates the prediction stats and returns whether prediction is allowed.

Powered by Google App Engine
This is Rietveld 408576698