summaryrefslogtreecommitdiffstats
path: root/testing/android
diff options
context:
space:
mode:
authorkristianm@chromium.org <kristianm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-11 08:53:33 +0000
committerkristianm@chromium.org <kristianm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-11 08:53:33 +0000
commit90a2dfbe6b2628fdb87c33fc12b9c0b45fccea0d (patch)
tree44b97927265b8abb4aa1d70f3ca5e755f0cf0a2f /testing/android
parentcff7b7b50c63dc3b03cc49e6c0ba999d5e51da4a (diff)
downloadchromium_src-90a2dfbe6b2628fdb87c33fc12b9c0b45fccea0d.zip
chromium_src-90a2dfbe6b2628fdb87c33fc12b9c0b45fccea0d.tar.gz
chromium_src-90a2dfbe6b2628fdb87c33fc12b9c0b45fccea0d.tar.bz2
Fix findbugs issues
Constants should be private static final. Since I'm there, renamed TAG to LOGTAG so it is obvious it is only used for logging. BUG= Review URL: https://chromiumcodereview.appspot.com/11827057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/android')
-rw-r--r--testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
index fef3dce..490ed14 100644
--- a/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
+++ b/testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
@@ -21,10 +21,10 @@ import java.io.File;
// Our tests need to go up to our own java classes, which is not possible using
// the native activity class loader.
public class ChromeNativeTestActivity extends ChromiumActivity {
- private final String TAG = "ChromeNativeTestActivity";
- private final String EXTRA_RUN_IN_SUB_THREAD = "RunInSubThread";
+ private static final String TAG = "ChromeNativeTestActivity";
+ private static final String EXTRA_RUN_IN_SUB_THREAD = "RunInSubThread";
// We post a delayed task to run tests so that we do not block onCreate().
- private static long RUN_TESTS_DELAY_IN_MS = 300;
+ private static final long RUN_TESTS_DELAY_IN_MS = 300;
// Name of our shlib as obtained from a string resource.
private String mLibrary;