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

Unified Diff: net/android/java/src/org/chromium/net/X509Util.java

Issue 600983002: [Checkstyle] Fix misc style issues in Java files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years, 3 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: net/android/java/src/org/chromium/net/X509Util.java
diff --git a/net/android/java/src/org/chromium/net/X509Util.java b/net/android/java/src/org/chromium/net/X509Util.java
index 934ec40b9257ec36a25d99d2495ef9c7ab72f4e8..00a24e41016466418e13d21607923aa716826754 100644
--- a/net/android/java/src/org/chromium/net/X509Util.java
+++ b/net/android/java/src/org/chromium/net/X509Util.java
@@ -55,14 +55,11 @@ public class X509Util {
if (intent.getAction().equals(KeyChain.ACTION_STORAGE_CHANGED)) {
try {
reloadDefaultTrustManager();
- }
- catch (CertificateException e) {
+ } catch (CertificateException e) {
Log.e(TAG, "Unable to reload the default TrustManager", e);
- }
- catch (KeyStoreException e) {
+ } catch (KeyStoreException e) {
Log.e(TAG, "Unable to reload the default TrustManager", e);
- }
- catch (NoSuchAlgorithmException e) {
+ } catch (NoSuchAlgorithmException e) {
Log.e(TAG, "Unable to reload the default TrustManager", e);
}
}
@@ -377,7 +374,7 @@ public class X509Util {
}
// If the subject and public key match, this is a system root.
- X509Certificate anchorX509 = (X509Certificate)anchor;
+ X509Certificate anchorX509 = (X509Certificate) anchor;
if (root.getSubjectX500Principal().equals(anchorX509.getSubjectX500Principal()) &&
root.getPublicKey().equals(anchorX509.getPublicKey())) {
sSystemTrustAnchorCache.add(key);

Powered by Google App Engine
This is Rietveld 408576698