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

Unified Diff: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java

Issue 744453002: Fix a bunch of Java Checkstyle issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NeedsBraces to info Created 6 years, 1 month 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: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java
index eb0456325aa5673761fe97f5cf2a9174ab98a35b..e4aebf71038c43e242180feefc6411513fbe4683 100644
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java
+++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java
@@ -208,8 +208,8 @@ public class CallbackHelper {
synchronized (mLock) {
final long startTime = SystemClock.uptimeMillis();
boolean isSatisfied = criteria.isSatisfied();
- while (!isSatisfied &&
- SystemClock.uptimeMillis() - startTime < unit.toMillis(timeout)) {
+ while (!isSatisfied
+ && SystemClock.uptimeMillis() - startTime < unit.toMillis(timeout)) {
mLock.wait(unit.toMillis(timeout));
isSatisfied = criteria.isSatisfied();
}

Powered by Google App Engine
This is Rietveld 408576698