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

Unified Diff: android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.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
« no previous file with comments | « android_webview/test/shell/src/org/chromium/android_webview/test/TestContentProvider.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java
diff --git a/android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java b/android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java
index 3405017ab4340220604f5dd3e3510f5e0e43a1b6..3b587127922eb9bb746386052771c6f8dcdd02ac 100644
--- a/android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java
+++ b/android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.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.
@@ -10,31 +10,31 @@ import java.io.InputStream;
import java.io.IOException;
class InputStreamUnittest {
- private InputStreamUnittest() {
- }
+ private InputStreamUnittest() {
+ }
- @CalledByNative
- static InputStream getEmptyStream() {
- return new InputStream() {
- @Override
- public int read() {
- return -1;
- }
- };
- }
+ @CalledByNative
+ static InputStream getEmptyStream() {
+ return new InputStream() {
+ @Override
+ public int read() {
+ return -1;
+ }
+ };
+ }
- @CalledByNative
- static InputStream getCountingStream(final int size) {
- return new InputStream() {
- private int count = 0;
+ @CalledByNative
+ static InputStream getCountingStream(final int size) {
+ return new InputStream() {
+ private int count = 0;
- @Override
- public int read() {
- if (count < size)
- return count++ % 256;
- else
- return -1;
- }
- };
- }
+ @Override
+ public int read() {
+ if (count < size)
+ return count++ % 256;
+ else
+ return -1;
+ }
+ };
+ }
}
« no previous file with comments | « android_webview/test/shell/src/org/chromium/android_webview/test/TestContentProvider.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698