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

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

Issue 98853009: Fixing Java style issues in android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bo's nits Created 7 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/AwContentsTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java
index 227a9e25ee17eb0d1d649597c36fb78089246aeb..a46aa2f4faffd465ff02585202441c6ab030f308 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -305,9 +305,9 @@ public class AwContentsTest extends AwTestBase {
runTestOnUiThread(new Runnable() {
@Override
public void run() {
- for (int i = 0; i < 10; ++i) {
- awContents.clearCache(true);
- }
+ for (int i = 0; i < 10; ++i) {
+ awContents.clearCache(true);
+ }
}
});
}
@@ -348,7 +348,7 @@ public class AwContentsTest extends AwTestBase {
final Object originalFaviconSource = (new URL(faviconUrl)).getContent();
final Bitmap originalFavicon =
- BitmapFactory.decodeStream((InputStream)originalFaviconSource);
+ BitmapFactory.decodeStream((InputStream) originalFaviconSource);
assertNotNull(originalFavicon);
assertTrue(awContents.getFavicon().sameAs(originalFavicon));
@@ -428,7 +428,7 @@ public class AwContentsTest extends AwTestBase {
public void run() {
mCallbackHelper.notifyCalled();
}
- };
+ }
@Feature({"AndroidWebView", "JavaBridge"})
@SmallTest

Powered by Google App Engine
This is Rietveld 408576698