diff options
author | Vincent <valodim@mugenguild.com> | 2014-04-16 19:20:03 +0200 |
---|---|---|
committer | Vincent <valodim@mugenguild.com> | 2014-04-16 19:20:03 +0200 |
commit | 1e64f6b846954a1cd725603c6525aaa825657f09 (patch) | |
tree | 107bb784862ef77e3c8bce12a7d8361ea1ada467 /OpenKeychain/src/main/java/org/sufficientlysecure | |
parent | adb20689fecac7b318d9c21235afbc0c86b843ba (diff) | |
download | open-keychain-1e64f6b846954a1cd725603c6525aaa825657f09.tar.gz open-keychain-1e64f6b846954a1cd725603c6525aaa825657f09.tar.bz2 open-keychain-1e64f6b846954a1cd725603c6525aaa825657f09.zip |
Fix more whitespace
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainProvider.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainProvider.java index 83986c254..a201db342 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainProvider.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainProvider.java @@ -704,14 +704,14 @@ public class KeychainProvider extends ContentProvider { final int match = mUriMatcher.match(uri); switch (match) { case KEY_RING_KEYS: { - if(values.size() != 1 || !values.containsKey(Keys.HAS_SECRET)) { + if (values.size() != 1 || !values.containsKey(Keys.HAS_SECRET)) { throw new UnsupportedOperationException( "Only has_secret column may be updated!"); } // make sure we get a long value here Long mkid = Long.parseLong(uri.getPathSegments().get(1)); String actualSelection = Keys.MASTER_KEY_ID + " = " + Long.toString(mkid); - if(!TextUtils.isEmpty(selection)) { + if (!TextUtils.isEmpty(selection)) { actualSelection += " AND (" + selection + ")"; } count = db.update(Tables.KEYS, values, actualSelection, selectionArgs); |