From 2a3158aad80fc910b83336485b3e545dea50066c Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 09:23:30 +0000
Subject: [PATCH] guitools + quicksetup: added @Override + Autorefactor'ed comments
---
opendj-server-legacy/src/main/java/org/opends/quicksetup/UserDataCertificateException.java | 16 ++++------------
1 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/UserDataCertificateException.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/UserDataCertificateException.java
index 2190dec..55eab46 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/UserDataCertificateException.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/UserDataCertificateException.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2008 Sun Microsystems, Inc.
- * Portions Copyright 2014 ForgeRock AS.
+ * Portions Copyright 2014-2016 ForgeRock AS.
*/
package org.opends.quicksetup;
@@ -25,7 +25,6 @@
* be asked to accept it or not.
* It will be thrown by the class that is in charge of validating the user data
* (the Application class).
- *
*/
public class UserDataCertificateException extends UserDataException
{
@@ -34,19 +33,12 @@
private X509Certificate[] chain;
private String authType;
private Type type;
- /**
- * The enumeration for the different types of the exception.
- */
+ /** The enumeration for the different types of the exception. */
public enum Type
{
- /**
- * The certificate was not trusted.
- */
+ /** The certificate was not trusted. */
NOT_TRUSTED,
- /**
- * The certificate's subject DN's value and the host name we tried to
- * connect to do not match.
- */
+ /** The certificate's subject DN's value and the host name we tried to connect to do not match. */
HOST_NAME_MISMATCH
}
--
Gitblit v1.10.0