From 6a7b247e3bcc433397accf7ef1eca1e8a57274e8 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Fri, 30 Jul 2010 12:23:11 +0000
Subject: [PATCH] Fix a couple of typos

---
 opends/src/server/org/opends/server/util/SelectableCertificateKeyManager.java |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/opends/src/server/org/opends/server/util/SelectableCertificateKeyManager.java b/opends/src/server/org/opends/server/util/SelectableCertificateKeyManager.java
index d2b450a..08f3c67 100644
--- a/opends/src/server/org/opends/server/util/SelectableCertificateKeyManager.java
+++ b/opends/src/server/org/opends/server/util/SelectableCertificateKeyManager.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2008-2009 Sun Microsystems, Inc.
+ *      Copyright 2008-2010 Sun Microsystems, Inc.
  */
 package org.opends.server.util;
 
@@ -55,10 +55,10 @@
        extends X509ExtendedKeyManager
 {
   // The alias of the certificate that should be selected from the key manager.
-  private String alias;
+  private final String alias;
 
   // The key manager that is wrapped by this key manager.
-  private X509KeyManager keyManager;
+  private final X509KeyManager keyManager;
 
 
 
@@ -83,7 +83,7 @@
 
   /**
    * Chooses the alias of the client certificate that should be used based on
-   * the provided critieria.  This will either return the preferred alias
+   * the provided criteria.  This will either return the preferred alias
    * configured for this key manager, or {@code null} if no client certificate
    * with that alias is configured in the underlying key manager.
    *
@@ -134,6 +134,7 @@
    * @return  The alias configured for this key manager, or {@code null} if no
    *          such client certificate is available with that alias.
    */
+  @Override
   public String chooseEngineClientAlias(String[] keyType, Principal[] issuers,
                                         SSLEngine engine)
   {
@@ -208,6 +209,7 @@
    * @return  The alias configured for this key manager, or {@code null} if no
    *          such server certificate is available with that alias.
    */
+  @Override
   public String chooseEngineServerAlias(String keyType, Principal[] issuers,
                                         SSLEngine engine)
   {

--
Gitblit v1.10.0