| 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 ef0a72dcf0514756a309767c5b5864b49f64ae57..9dbdfbd97c01805616f6834051e16622cbc24ab2 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
|
| @@ -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.
|
|
|
| @@ -6,16 +6,18 @@ package org.chromium.android_webview.test.util;
|
|
|
| import org.chromium.net.test.util.TestWebServer;
|
|
|
| -// The purpose of the generator is to provide a sequence of distinct images
|
| -// to avoid caching side-effects. As we don't need too many images, I've
|
| -// found it easier to hardcode image samples. It is possible to generate
|
| -// images on the fly, but it will require hooking up additional packages.
|
| +/**
|
| + * The purpose of the generator is to provide a sequence of distinct images to
|
| + * avoid caching side-effects. As we don't need too many images, I've found it
|
| + * easier to hardcode image samples. It is possible to generate images on the
|
| + * fly, but it will require hooking up additional packages.
|
| + */
|
| public class ImagePageGenerator {
|
|
|
| public static final String IMAGE_LOADED_STRING = "1";
|
| public static final String IMAGE_NOT_LOADED_STRING = "0";
|
|
|
| - private final static String[] COLORS = {
|
| + private static final String[] COLORS = {
|
| "AAAAIAAc3j0Ss", "AQABIAEayS9b0", "AgACIAIQ8BmAc", "AwADIAMW5wvJE",
|
| "BAAEIAQZNWRTI", "BQAFIAUfInYaQ", "BgAGIAYVG0DB4", "BwAHIAcTDFKIg",
|
| "CAAIIAgXCI+Rk", "CQAJIAkRH53Y8", "CgAKIAobJqsDU", "CwALIAsdMblKM",
|
| @@ -23,10 +25,10 @@ public class ImagePageGenerator {
|
| "D+AQAA/9vaUwc", "D/AQEBANNhzkw"
|
| };
|
|
|
| - private final static String IMAGE_PREFIX = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA" +
|
| + private static final String IMAGE_PREFIX = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA" +
|
| "6fptVAAAAAXNSR0IArs4c6QAAAA1JREFUCB0BAgD9/w";
|
|
|
| - private final static String IMAGE_SUFFIX = "AAAAASUVORK5CYII=";
|
| + private static final String IMAGE_SUFFIX = "AAAAASUVORK5CYII=";
|
|
|
| private int mIndex;
|
| private final boolean mAdvance;
|
|
|