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

Unified Diff: sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.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: sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java
diff --git a/sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java b/sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java
index d26be8739376e119b6bcc4a8861d366ed3a8d031..6f49d1fb6976ee20da782dd04b6a9493cc675373 100644
--- a/sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java
+++ b/sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java
@@ -289,9 +289,9 @@ public class AccountManagerHelper {
private void onGotAuthTokenResult(Account account, String authTokenType, String authToken,
GetAuthTokenCallback callback, AtomicInteger numTries, AtomicBoolean errorEncountered,
ConnectionRetry retry) {
- if (authToken != null || !errorEncountered.get() ||
- numTries.incrementAndGet() == MAX_TRIES ||
- !NetworkChangeNotifier.isInitialized()) {
+ if (authToken != null || !errorEncountered.get()
+ || numTries.incrementAndGet() == MAX_TRIES
+ || !NetworkChangeNotifier.isInitialized()) {
callback.tokenAvailable(authToken);
return;
}

Powered by Google App Engine
This is Rietveld 408576698