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

Unified Diff: sync/test/android/javatests/src/org/chromium/sync/test/util/MockSyncContentResolverDelegate.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/test/android/javatests/src/org/chromium/sync/test/util/MockSyncContentResolverDelegate.java
diff --git a/sync/test/android/javatests/src/org/chromium/sync/test/util/MockSyncContentResolverDelegate.java b/sync/test/android/javatests/src/org/chromium/sync/test/util/MockSyncContentResolverDelegate.java
index ab8fc08ec1a46eb27e25b021a4a43011958bb00f..9c8fc37ddc2e0148917a667c7ad30405fb265147 100644
--- a/sync/test/android/javatests/src/org/chromium/sync/test/util/MockSyncContentResolverDelegate.java
+++ b/sync/test/android/javatests/src/org/chromium/sync/test/util/MockSyncContentResolverDelegate.java
@@ -94,9 +94,9 @@ public class MockSyncContentResolverDelegate implements SyncContentResolverDeleg
String key = createKey(account, authority);
synchronized (mSyncableMapLock) {
if (!mIsSyncableMap.containsKey(key) || !mIsSyncableMap.get(key)) {
- throw new IllegalArgumentException("Account " + account +
- " is not syncable for authority " + authority +
- ". Can not set sync state to " + sync);
+ throw new IllegalArgumentException("Account " + account
+ + " is not syncable for authority " + authority
+ + ". Can not set sync state to " + sync);
}
if (sync) {
mSyncAutomaticallySet.add(key);
@@ -129,8 +129,8 @@ public class MockSyncContentResolverDelegate implements SyncContentResolverDeleg
}
break;
default:
- throw new IllegalArgumentException("Unable to understand syncable argument: " +
- syncable);
+ throw new IllegalArgumentException("Unable to understand syncable argument: "
+ + syncable);
}
}
notifyObservers();

Powered by Google App Engine
This is Rietveld 408576698