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

Unified Diff: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.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/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
index ced77c56d352439a491ab5f9d3d4a86862a4254c..da0a77ecace673538baf17cd189a204b154df7eb 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 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.
@@ -36,12 +36,12 @@ import org.chromium.android_webview.test.AwTestContainerView;
import org.chromium.android_webview.test.NullContentsClient;
import org.chromium.content.browser.LoadUrlParams;
-/*
+/**
* This is a lightweight activity for tests that only require WebView functionality.
*/
public class AwShellActivity extends Activity {
- private final static String PREFERENCES_NAME = "AwShellPrefs";
- private final static String INITIAL_URL = "about:blank";
+ private static final String PREFERENCES_NAME = "AwShellPrefs";
+ private static final String INITIAL_URL = "about:blank";
private AwBrowserContext mBrowserContext;
private AwDevToolsServer mDevToolsServer;
private AwTestContainerView mAwTestContainerView;
@@ -167,7 +167,7 @@ public class AwShellActivity extends Activity {
@Override
public void onClick(View v) {
if (mAwTestContainerView.getContentViewCore().canGoForward()) {
- mAwTestContainerView.getContentViewCore().goForward();
+ mAwTestContainerView.getContentViewCore().goForward();
}
}
});

Powered by Google App Engine
This is Rietveld 408576698