mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
08.00.2015 a23343e9e4e0b555b1bcfa99a7455e0e28117a3d
AutoRefactor'ed remove useless semi-colons
27 files modified
212 ■■■■■ changed files
opendj-config/src/main/java/org/forgerock/opendj/config/GenericConstraint.java 10 ●●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinitionUsageBuilder.java 3 ●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/PropertyEditorModification.java 2 ●●● patch | view | raw | blame | history
opendj-core/src/test/java/org/forgerock/opendj/ldap/schema/IntegerOrderingMatchingRuleTest.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/BackupDescriptor.java 21 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/CategorizedComboBoxElement.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ConnectionHandlerDescriptor.java 71 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/event/BrowserEvent.java 26 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/StartServerTask.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BackupPanel.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BrowseGeneralMonitoringPanel.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java 8 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BrowseSchemaPanel.java 9 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ExportLDIFPanel.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericDialog.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/RestorePanel.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java 7 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/components/CustomTree.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/admin/GenericConstraint.java 15 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/admin/LDAPProfile.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/admin/PropertyDefinitionUsageBuilder.java 3 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/StorageStatus.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/task/RecurringTask.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/task/Task.java 7 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/tools/tasks/TaskScheduleInteraction.java 2 ●●● patch | view | raw | blame | history
opendj-server/src/main/java/org/forgerock/opendj/server/setup/model/Certificate.java 2 ●●● patch | view | raw | blame | history
opendj-server/src/main/java/org/forgerock/opendj/server/setup/model/DataConfiguration.java 2 ●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/GenericConstraint.java
@@ -80,12 +80,9 @@
                return true;
            }
        }
    }
    };
    /**
     * The server-side constraint handler.
     */
    /** The server-side constraint handler. */
    private final class ServerHandler extends ServerConstraintHandler {
        /** Private constructor. */
@@ -104,8 +101,7 @@
                return true;
            }
        }
    };
    }
    /** The client-side constraint handler. */
    private final ClientConstraintHandler clientHandler = new ClientHandler();
opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinitionUsageBuilder.java
@@ -300,6 +300,5 @@
     */
    public LocalizableMessage getUsage(PropertyDefinition<?> pd) {
        return pd.accept(pimpl, null);
    };
    }
}
opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/PropertyEditorModification.java
@@ -53,7 +53,7 @@
        ADD,
        /** The user chose to delete values. */
        REMOVE
    };
    }
    private PropertyDefinition<T> propertyDefinition;
    private Type type;
opendj-core/src/test/java/org/forgerock/opendj/ldap/schema/IntegerOrderingMatchingRuleTest.java
@@ -108,7 +108,7 @@
        private Sign(byte mask) {
            this.mask = mask;
        }
    };
    }
    private int length(int i) {
        return i;
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/BackupDescriptor.java
@@ -23,7 +23,6 @@
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 */
package org.opends.guitools.controlpanel.datamodel;
import java.io.File;
@@ -31,26 +30,18 @@
import org.opends.server.types.BackupInfo;
/**
 * Class used to describe a backup.
 */
/** Class used to describe a backup. */
public class BackupDescriptor
{
  /**
   * The different types of backups.
   *
   */
  /** The different types of backups. */
  public enum Type
  {
    /**
     * Full backup.
     */
    /** Full backup. */
    FULL,
    /**
     * Incremental backup.
     */
    /** Incremental backup. */
    INCREMENTAL
  };
  }
  private Type type;
  private Date creationDate;
  private File path;
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/CategorizedComboBoxElement.java
@@ -52,7 +52,7 @@
     * Regular type.
     */
    REGULAR
  };
  }
  /**
   * Constructor.
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ConnectionHandlerDescriptor.java
@@ -46,83 +46,48 @@
{
  private Set<CustomSearchResult> monitoringEntries = Collections.emptySet();
  /**
   * Enumeration used to represent the state of the listener.
   */
  /** Enumeration used to represent the state of the listener. */
  public enum State
  {
    /**
     * The listener is enabled.
     */
    /** The listener is enabled. */
    ENABLED,
    /**
     * The listener is disabled.
     */
    /** The listener is disabled. */
    DISABLED,
    /**
     * The state of the listener is unknown.
     */
    /** The state of the listener is unknown. */
    UNKNOWN
  };
  }
  /**
   * Enumeration used to represent the Protocol of the listener.
   *
   */
  /** Enumeration used to represent the Protocol of the listener. */
  public enum Protocol
  {
    /**
     * LDAP protocol.
     */
    /** LDAP protocol. */
    LDAP(INFO_CTRL_PANEL_CONN_HANDLER_LDAP.get()),
    /**
     * LDAP accepting Start TLS protocol.
     */
    /** LDAP accepting Start TLS protocol. */
    LDAP_STARTTLS(INFO_CTRL_PANEL_CONN_HANDLER_LDAP_STARTTLS.get()),
    /**
     * LDAP secure protocol.
     */
    /** LDAP secure protocol. */
    LDAPS(INFO_CTRL_PANEL_CONN_HANDLER_LDAPS.get()),
    /**
     * HTTP protocol.
     */
    /** HTTP protocol. */
    HTTP(INFO_CTRL_PANEL_CONN_HANDLER_HTTP.get()),
    /**
     * HTTP secure protocol.
     */
    /** HTTP secure protocol. */
    HTTPS(INFO_CTRL_PANEL_CONN_HANDLER_HTTPS.get()),
    /**
     * JMX protocol.
     */
    /** JMX protocol. */
    JMX(INFO_CTRL_PANEL_CONN_HANDLER_JMX.get()),
    /**
     * JMX secure protocol.
     */
    /** JMX secure protocol. */
    JMXS(INFO_CTRL_PANEL_CONN_HANDLER_JMXS.get()),
    /**
     * LDIF protocol.
     */
    /** LDIF protocol. */
    LDIF(INFO_CTRL_PANEL_CONN_HANDLER_LDIF.get()),
    /**
     * SNMP protocol.
     */
    /** SNMP protocol. */
    SNMP(INFO_CTRL_PANEL_CONN_HANDLER_SNMP.get()),
    /**
     * Replication protocol.  Even if in the configuration is not considered
     * as a listener, we display it on the table.
     */
    REPLICATION(INFO_CTRL_PANEL_CONN_HANDLER_REPLICATION.get()),
    /**
     * Secure replication protocol.
     */
    /** Secure replication protocol. */
    REPLICATION_SECURE(INFO_CTRL_PANEL_CONN_HANDLER_REPLICATION_SECURE.get()),
    /**
     * Admin connector protocol.
     */
    /** Admin connector protocol. */
    ADMINISTRATION_CONNECTOR(INFO_CTRL_PANEL_CONN_HANDLER_ADMINISTRATION.get()),
    /**
     * Other protocol.
     */
    /** Other protocol. */
    OTHER(INFO_CTRL_PANEL_CONN_HANDLER_OTHER.get());
    private LocalizableMessage displayMessage;
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/event/BrowserEvent.java
@@ -23,7 +23,6 @@
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 */
package org.opends.guitools.controlpanel.event;
import java.util.EventObject;
@@ -32,41 +31,28 @@
 * This class defines an event for the browser.  It basically it is used to
 * communicate between the BrowserController and the NodeRefresher classes.
 * @author jvergara
 *
 */
public class BrowserEvent extends EventObject
{
  private static final long serialVersionUID = 6476274376887062526L;
  /**
   * The different types of events that we can have.
   *
   */
  /** The different types of events that we can have. */
  public enum Type
  {
    /**
     * Update of the entry started.
     */
    /** Update of the entry started. */
    UPDATE_START,
    /**
     * Update of the entry ended.
     */
    /** Update of the entry ended. */
    UPDATE_END,
    /**
     * Insert of children started.
     */
    /** Insert of children started. */
    INSERT_CHILDREN_START,
    /**
     * Insert of children ended.
     */
    /** Insert of children ended. */
    INSERT_CHILDREN_END,
    /**
     * The specified size limit (max number of children to be returned) in the
     * BrowserController was reached.
     */
    SIZE_LIMIT_REACHED
  };
  }
  private Type type;
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/StartServerTask.java
@@ -78,4 +78,4 @@
    args.add("0");
    return args;
  }
};
}
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BackupPanel.java
@@ -822,5 +822,5 @@
    {
      return getCommandLinePath("backup");
    }
  };
  }
}
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BrowseGeneralMonitoringPanel.java
@@ -603,7 +603,7 @@
          Utilities.createImageIcon(IconPool.IMAGE_PATH+"/"+ocPaths[i],
              getClass().getClassLoader()));
    }
  };
  }
  private String getServerName(ServerDescriptor server)
  {
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java
@@ -915,13 +915,9 @@
      hmImages.put(classes[i],
          Utilities.createImageIcon(IconPool.IMAGE_PATH+"/"+ocPaths[i]));
    }
  };
  }
  /**
   * Specific class used to render the nodes in the tree.  It uses specific
   * icons for the nodes.
   *
   */
  /** Specific class used to render the nodes in the tree.  It uses specific icons for the nodes. */
  protected class IndexTreeCellRenderer extends TreeCellRenderer
  {
    private ImageIcon readOnlyIndexIcon =
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BrowseSchemaPanel.java
@@ -1648,12 +1648,9 @@
      hmImages.put(classes[i],
          Utilities.createImageIcon(IconPool.IMAGE_PATH+"/"+ocPaths[i]));
    }
  };
  /**
   * Specific class used to render the nodes in the tree.  It uses specific
   * icons for the nodes.
   *
   */
  }
  /** Specific class used to render the nodes in the tree.  It uses specific icons for the nodes. */
  protected class SchemaTreeCellRenderer extends TreeCellRenderer
  {
    private static final long serialVersionUID = -3390568254259441766L;
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ExportLDIFPanel.java
@@ -586,5 +586,5 @@
    {
      return getCommandLinePath("export-ldif");
    }
  };
  }
}
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericDialog.java
@@ -93,7 +93,7 @@
    CLOSE,
    /** The dialog has no buttons. */
    NO_BUTTON
  };
  }
  /**
   * Constructor of the dialog.
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/RestorePanel.java
@@ -506,5 +506,5 @@
    {
      return getCommandLinePath("restore");
    }
  };
  }
}
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java
@@ -243,14 +243,11 @@
    "facsimiletelephonenumber"});
    hmOrdereredAttrNames.put("organization", new String[]{"o", "description"});
    hmOrdereredAttrNames.put("domain", new String[]{"dc", "description"});
  };
  }
  private LocalizableMessage NAME = INFO_CTRL_PANEL_NAME_LABEL.get();
  /**
   * Default constructor.
   *
   */
  /** Default constructor. */
  public SimplifiedViewEntryPanel()
  {
    super();
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/components/CustomTree.java
@@ -67,7 +67,7 @@
  private enum NewEventType
  {
    MOUSE_PRESSED, MOUSE_CLICKED, MOUSE_RELEASED
  };
  }
  /** {@inheritDoc} */
  public void paintComponent(Graphics g)
opendj-server-legacy/src/main/java/org/opends/server/admin/GenericConstraint.java
@@ -91,14 +91,9 @@
        return true;
      }
    }
  }
  };
  /**
   * The server-side constraint handler.
   */
  /** The server-side constraint handler. */
  private class ServerHandler extends ServerConstraintHandler {
    /** Private constructor. */
@@ -106,9 +101,6 @@
      // No implementation required.
    }
    /** {@inheritDoc} */
    @Override
    public boolean isUsable(ServerManagedObject<?> managedObject,
        Collection<LocalizableMessage> unacceptableReasons) throws ConfigException {
@@ -119,8 +111,7 @@
        return true;
      }
    }
  };
  }
  /** The client-side constraint handler. */
  private final ClientConstraintHandler clientHandler = new ClientHandler();
opendj-server-legacy/src/main/java/org/opends/server/admin/LDAPProfile.java
@@ -183,7 +183,7 @@
  }
  /** The list of profile wrappers. */
  private final LinkedList<Wrapper> profiles = new LinkedList<>();;
  private final LinkedList<Wrapper> profiles = new LinkedList<>();
  /** The LDAP profile property table. */
  private final ManagedObjectDefinitionResource resource =
opendj-server-legacy/src/main/java/org/opends/server/admin/PropertyDefinitionUsageBuilder.java
@@ -339,6 +339,5 @@
   */
  public LocalizableMessage getUsage(PropertyDefinition<?> pd) {
    return pd.accept(pimpl, null);
  };
  }
}
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/StorageStatus.java
@@ -42,7 +42,7 @@
    LOCKED_DOWN,
    /** Storage has no resources to execute operations. */
    UNUSABLE
  };
  }
  /** Hopefully resources are always in this state. */
  private static final StorageStatus WORKING = new StorageStatus(Code.WORKING, null);
opendj-server-legacy/src/main/java/org/opends/server/backends/task/RecurringTask.java
@@ -101,7 +101,7 @@
        = {31,29,31,30,31,30,31,31,30,31,30,31};
  /** Task tab fields. */
  private static enum TaskTab {MINUTE, HOUR, DAY, MONTH, WEEKDAY};
  private static enum TaskTab {MINUTE, HOUR, DAY, MONTH, WEEKDAY}
  private static final int MINUTE_INDEX = 0;
  private static final int HOUR_INDEX = 1;
opendj-server-legacy/src/main/java/org/opends/server/backends/task/Task.java
@@ -160,7 +160,7 @@
    // NOTE: this method is invoked via reflection.  If you rename
    // it be sure to modify the calls.
    return null;
  };
  }
  /**
   * Given an attribute type name returns and locale sensitive
@@ -168,11 +168,10 @@
   *
   * @param name of an attribute type associated with the object
   *        class that represents this entry in the directory
   * @return LocalizableMessage diaplay name
   * @return LocalizableMessage display name
   */
  public LocalizableMessage getAttributeDisplayName(String name) {
    // Subclasses that are schedulable from the task interface
    // should override this
    // Subclasses that are schedulable from the task interface should override this
    // NOTE: this method is invoked via reflection.  If you rename
    // it be sure to modify the calls.
opendj-server-legacy/src/main/java/org/opends/server/tools/tasks/TaskScheduleInteraction.java
@@ -101,7 +101,7 @@
    {
      return RUN_NOW;
    }
  };
  }
  /**
   * Default constructor.
opendj-server/src/main/java/org/forgerock/opendj/server/setup/model/Certificate.java
@@ -55,7 +55,7 @@
         * Public-Key Cryptography Standards 11 token.
         */
        PKCS11
    };
    }
    private CertificateType type;
    private String certNickName;
opendj-server/src/main/java/org/forgerock/opendj/server/setup/model/DataConfiguration.java
@@ -49,7 +49,7 @@
         * Automatically generated data entries.
         */
        AUTOMATICALLY_GENERATED
    };
    }
    /** Default name of directory base DN. */
    static final String DEFAULT_DIRECTORY_BASE_DN = "dc=example,dc=com";