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/SecurityOptions.java | 35 +++++++++--------------------------
1 files changed, 9 insertions(+), 26 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
index ddc6030..fcd8d00 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2006-2010 Sun Microsystems, Inc.
- * Portions Copyright 2015 ForgeRock AS.
+ * Portions Copyright 2015-2016 ForgeRock AS.
*/
package org.opends.quicksetup;
@@ -21,10 +21,7 @@
import java.util.Set;
import java.util.TreeSet;
-/**
- * Class used to describe the Security Options specified by the user.
- *
- */
+/** Class used to describe the Security Options specified by the user. */
public class SecurityOptions
{
private boolean enableSSL;
@@ -37,34 +34,20 @@
/** Alias of a self-signed certificate using elliptic curve. */
public static final String SELF_SIGNED_EC_CERT_ALIAS = SELF_SIGNED_CERT_ALIAS + "-ec";
- /**
- * The different type of security options that we can have.
- */
+ /** The different type of security options that we can have. */
public enum CertificateType
{
- /**
- * No certificate to be used (and so no SSL and no Start TLS).
- */
+ /** No certificate to be used (and so no SSL and no Start TLS). */
NO_CERTIFICATE,
- /**
- * Use a newly created Self Signed Certificate.
- */
+ /** Use a newly created Self Signed Certificate. */
SELF_SIGNED_CERTIFICATE,
- /**
- * Use an existing JKS key store.
- */
+ /** Use an existing JKS key store. */
JKS,
- /**
- * Use an existing JCEKS key store.
- */
+ /** Use an existing JCEKS key store. */
JCEKS,
- /**
- * Use an existing PKCS#11 key store.
- */
+ /** Use an existing PKCS#11 key store. */
PKCS11,
- /**
- * Use an existing PKCS#12 key store.
- */
+ /** Use an existing PKCS#12 key store. */
PKCS12
}
--
Gitblit v1.10.0