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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.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: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java
index e6a4fc5105436bf31b952e6a32478417a02ee5c1..0a9df91b77016ce862947f12c7dfc4cc090780f1 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java
@@ -43,7 +43,7 @@ public class AwContentsClientShouldInterceptRequestTest extends AwTestBase {
private ConcurrentHashMap<String, AwWebResourceRequest> mRequestsByUrls =
new ConcurrentHashMap<String, AwWebResourceRequest>();
// This is read on another thread, so needs to be marked volatile.
- private volatile AwWebResourceResponse mShouldInterceptRequestReturnValue = null;
+ private volatile AwWebResourceResponse mShouldInterceptRequestReturnValue;
void setReturnValue(AwWebResourceResponse value) {
mShouldInterceptRequestReturnValue = value;
}

Powered by Google App Engine
This is Rietveld 408576698