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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java

Issue 1054203002: Enable NeedsBraces check and fix some checkstyle issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added if checks Created 5 years, 9 months 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 f8207dd2f0e80725faeb456dc6f62a418dd2eaac..bf7bfbc0af0938083522b833c20cbb9f39e84b7e 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
@@ -513,8 +513,7 @@ public class AwContentsClientShouldInterceptRequestTest extends AwTestBase {
+ "})();";
String header = executeJavaScriptAndWaitForResult(awContents, contentsClient, syncGetJs);
- if (header.equals("null"))
- return null;
+ if (header.equals("null")) return null;
// JSON stringification applied by executeJavaScriptAndWaitForResult adds quotes
// around returned strings.
assertTrue(header.length() > 2);

Powered by Google App Engine
This is Rietveld 408576698