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/guitools/controlpanel/browser/BrowserController.java | 35 ++++++++---------------------------
1 files changed, 8 insertions(+), 27 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/BrowserController.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/BrowserController.java
index 6693f04..978c091 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/BrowserController.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/BrowserController.java
@@ -80,15 +80,10 @@
public class BrowserController
implements TreeExpansionListener, ReferralAuthenticationListener
{
- /**
- * The mask used to display the number of ACIs or not.
- */
+ /** The mask used to display the number of ACIs or not. */
private static final int DISPLAY_ACI_COUNT = 0x01;
- /**
- * The list of attributes that are used to sort the entries (if the sorting
- * option is used).
- */
+ /** The list of attributes that are used to sort the entries (if the sorting option is used). */
private static final String[] SORT_ATTRIBUTES =
{ "cn", "givenname", "o", "ou", "sn", "uid" };
@@ -98,9 +93,7 @@
*/
private static final String RDN_ATTRIBUTE = "rdn attribute";
- /**
- * The filter used to retrieve all the entries.
- */
+ /** The filter used to retrieve all the entries. */
public static final String ALL_OBJECTS_FILTER =
"(|(objectClass=*)(objectClass=ldapsubentry))";
@@ -614,10 +607,7 @@
startRefreshNode(node, null, false);
}
- /**
- * Notify this controller that authentication data have changed in the
- * connection pool.
- */
+ /** Notify this controller that authentication data have changed in the connection pool. */
@Override
public void notifyAuthDataChanged() {
notifyAuthDataChanged(null);
@@ -658,10 +648,7 @@
startRefreshNode(node, null, true);
}
- /**
- * Stop the current refreshing.
- * Nodes being expanded are collapsed.
- */
+ /** Stop the current refreshing. Nodes being expanded are collapsed. */
private void stopRefresh() {
stopRefreshNode(rootNode);
// TODO: refresh must be stopped in a clean state.
@@ -1229,7 +1216,6 @@
* are not invoked directly by the task classes: they are
* invoked using SwingUtilities.invokeAndWait() (each of the
* methods XXX() below has a matching wrapper invokeXXX()).
- *
*/
/**
@@ -1338,8 +1324,7 @@
updateNodeRendering(node, task.getDisplayedEntry());
nodeChanged = true;
if (node.isLeaf()) {
- /* We didn't detect any child: remove the previously existing
- * ones */
+ /* We didn't detect any child: remove the previously existing ones */
removeAllChildNodes(node, false /* Remove suffixes */);
}
}
@@ -1995,9 +1980,7 @@
- /**
- * Collection utilities
- */
+ /** Collection utilities. */
/**
* Returns an array of integer from a Collection of Integer objects.
* @param v the Collection of Integer objects.
@@ -2036,9 +2019,7 @@
}
- /**
- * The default implementation of the BrowserNodeInfo interface.
- */
+ /** The default implementation of the BrowserNodeInfo interface. */
private class BrowserNodeInfoImpl implements BrowserNodeInfo
{
private BasicNode node;
--
Gitblit v1.10.0