From 10cfe7756e967ac91c66d33b392aeab9cf3780fb Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Wed, 11 Jan 2012 12:57:53 -0500 Subject: Formatting (no line wrap in comments or code) --- .../com/netscape/pkisilent/http/CertSelection.java | 31 ++++++++++------------ 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java') diff --git a/pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java b/pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java index 078bb5882..ff541b6c6 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java +++ b/pki/base/silent/src/com/netscape/pkisilent/http/CertSelection.java @@ -1,4 +1,5 @@ package com.netscape.pkisilent.http; + // --- BEGIN COPYRIGHT BLOCK --- // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -21,28 +22,24 @@ import java.util.Vector; import org.mozilla.jss.ssl.SSLClientCertificateSelectionCallback; +public class CertSelection implements SSLClientCertificateSelectionCallback { -public class CertSelection implements SSLClientCertificateSelectionCallback -{ - - // make the select() call to use this client cert - public static String client_cert = null; + // make the select() call to use this client cert + public static String client_cert = null; - public void setClientCert(String nickname) - { - client_cert = nickname; - } + public void setClientCert(String nickname) { + client_cert = nickname; + } - public String select(@SuppressWarnings("rawtypes") Vector nicknames) - { + public String select(@SuppressWarnings("rawtypes") Vector nicknames) { - // when this method is called by SSLSocket we get a vector - // of nicknames to select similar to the way the browser presents - // the list. + // when this method is called by SSLSocket we get a vector + // of nicknames to select similar to the way the browser presents + // the list. - // We will just use the one thats set by setClientCert() + // We will just use the one thats set by setClientCert() - return client_cert; - } + return client_cert; + } }; // end class -- cgit