From 661593f15f14aaf55d73c7979dab1e900ebae2af Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 15 Oct 2014 15:17:11 +0000
Subject: [PATCH] AutoRefactored comments/javadocs on OpenDJ SDK
---
opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/ConfigurationFramework.java | 36 ++++++++++++++++++++----------------
1 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/ConfigurationFramework.java b/opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/ConfigurationFramework.java
index f31216b..fef9caf 100644
--- a/opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/ConfigurationFramework.java
+++ b/opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/ConfigurationFramework.java
@@ -130,20 +130,22 @@
.getLocalizedLogger(AdminMessages.resourceName());
private static final Logger debugLogger = LoggerFactory.getLogger(ConfigurationFramework.class);
- // The name of the lib directory.
+ /** The name of the lib directory. */
private static final String LIB_DIR = "lib";
- // The name of the extensions directory.
+ /** The name of the extensions directory. */
private static final String EXTENSIONS_DIR = "extensions";
- // The singleton instance.
+ /** The singleton instance. */
private static final ConfigurationFramework INSTANCE = new ConfigurationFramework();
- // Attribute name in jar's MANIFEST corresponding to the revision number.
+ /** Attribute name in jar's MANIFEST corresponding to the revision number. */
private static final String REVISION_NUMBER = "Revision-Number";
- // The attribute names for build information is name, version and revision
- // number
+ /**
+ * The attribute names for build information is name, version and revision
+ * number.
+ */
private static final String[] BUILD_INFORMATION_ATTRIBUTE_NAMES = new String[] {
Attributes.Name.EXTENSION_NAME.toString(),
Attributes.Name.IMPLEMENTATION_VERSION.toString(), REVISION_NUMBER };
@@ -157,17 +159,19 @@
return INSTANCE;
}
- // Set of registered Jar files.
+ /** Set of registered Jar files. */
private Set<File> jarFiles = new HashSet<File>();
- // Underlying class loader used to load classes and resources (null
- // if disabled).
- //
- // We contain a reference to the URLClassLoader rather than
- // sub-class it so that it is possible to replace the loader at
- // run-time. For example, when removing or replacing extension Jar
- // files (the URLClassLoader only supports adding new
- // URLs, not removal).
+ /**
+ * Underlying class loader used to load classes and resources (null
+ * if disabled).
+ * <p>
+ * We contain a reference to the URLClassLoader rather than
+ * sub-class it so that it is possible to replace the loader at
+ * run-time. For example, when removing or replacing extension Jar
+ * files (the URLClassLoader only supports adding new
+ * URLs, not removal).
+ */
private MyURLClassLoader loader = null;
private boolean isClient = true;
@@ -175,7 +179,7 @@
private String instancePath;
private ClassLoader parent;
- // Private constructor.
+ /** Private constructor. */
private ConfigurationFramework() {
// No implementation required.
}
--
Gitblit v1.10.0