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

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

Issue 112163002: Fixing Java style errors in net/android/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update known findbugs Created 7 years 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 0ded54d12c508942ccce49c176efca130e829747..76adb899bdff33af717711f17fa445031a1de14a 100644
--- a/net/android/java/src/org/chromium/net/X509Util.java
+++ b/net/android/java/src/org/chromium/net/X509Util.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -98,7 +98,7 @@ public class X509Util {
*/
private static void ensureInitialized() throws CertificateException,
KeyStoreException, NoSuchAlgorithmException {
- synchronized(sLock) {
+ synchronized (sLock) {
if (sCertificateFactory == null) {
sCertificateFactory = CertificateFactory.getInstance("X.509");
}
@@ -109,7 +109,9 @@ public class X509Util {
sTestKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());
try {
sTestKeyStore.load(null);
- } catch(IOException e) {} // No IO operation is attempted.
+ } catch (IOException e) {
+ // No IO operation is attempted.
+ }
}
if (sTestTrustManager == null) {
sTestTrustManager = X509Util.createTrustManager(sTestKeyStore);
@@ -188,7 +190,9 @@ public class X509Util {
try {
sTestKeyStore.load(null);
reloadTestTrustManager();
- } catch (IOException e) {} // No IO operation is attempted.
+ } catch (IOException e) {
+ // No IO operation is attempted.
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698