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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java

Issue 672533002: Enable separatorWrap module in CheckStyle and fix all the issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo mojo changes Created 6 years, 2 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: chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java b/chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java
index 946b49b60c0bbabb1ccaee053dce0f754694e698..27e2d126a474243754182602468769f4185442aa 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java
@@ -193,8 +193,8 @@ public final class OAuth2TokenService {
if (semaphore.tryAcquire(timeout, unit)) {
return result.get();
} else {
- Log.d(TAG, "Failed to retrieve auth token within timeout (" +
- timeout + " + " + unit.name() + ")");
+ Log.d(TAG, "Failed to retrieve auth token within timeout ("
+ + timeout + " + " + unit.name() + ")");
return null;
}
} catch (InterruptedException e) {
@@ -295,8 +295,8 @@ public final class OAuth2TokenService {
@CalledByNative
private static void saveStoredAccounts(Context context, String[] accounts) {
Set<String> set = new HashSet<String>(Arrays.asList(accounts));
- PreferenceManager.getDefaultSharedPreferences(context).edit().
- putStringSet(STORED_ACCOUNTS_KEY, set).apply();
+ PreferenceManager.getDefaultSharedPreferences(context).edit()
+ .putStringSet(STORED_ACCOUNTS_KEY, set).apply();
}
private static native Object nativeGetForProfile(Profile profile);

Powered by Google App Engine
This is Rietveld 408576698