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

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

Issue 12545043: Fix several findbugs issues (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/util/ImagePageGenerator.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/util/ImagePageGenerator.java b/android_webview/javatests/src/org/chromium/android_webview/test/util/ImagePageGenerator.java
index 73ee1eef5b60a6a6847a85045beb09756873a923..504eb056b189efad4eb4d18452c99420d33a0619 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/util/ImagePageGenerator.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/util/ImagePageGenerator.java
@@ -13,7 +13,7 @@ public class ImagePageGenerator {
public static final String IMAGE_LOADED_STRING = "1";
public static final String IMAGE_NOT_LOADED_STRING = "0";
- private final String[] COLORS = {
+ private final static String[] COLORS = {
"AAAAIAAc3j0Ss", "AQABIAEayS9b0", "AgACIAIQ8BmAc", "AwADIAMW5wvJE",
"BAAEIAQZNWRTI", "BQAFIAUfInYaQ", "BgAGIAYVG0DB4", "BwAHIAcTDFKIg",
"CAAIIAgXCI+Rk", "CQAJIAkRH53Y8", "CgAKIAobJqsDU", "CwALIAsdMblKM",
@@ -21,13 +21,13 @@ public class ImagePageGenerator {
"D+AQAA/9vaUwc", "D/AQEBANNhzkw"
};
- private final String IMAGE_PREFIX = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA" +
+ private final static String IMAGE_PREFIX = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA" +
"6fptVAAAAAXNSR0IArs4c6QAAAA1JREFUCB0BAgD9/w";
- private final String IMAGE_SUFFIX = "AAAAASUVORK5CYII=";
+ private final static String IMAGE_SUFFIX = "AAAAASUVORK5CYII=";
private int mIndex;
- private boolean mAdvance;
+ private final boolean mAdvance;
public ImagePageGenerator(int startIndex, boolean advance) {
mIndex = startIndex;

Powered by Google App Engine
This is Rietveld 408576698