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

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/main/java/org/opends/server/admin/AbstractManagedObjectDefinition.java
@@ -370,7 +370,7 @@
   */
  public final AbstractManagedObjectDefinition<? extends C, ? extends S>
      getChild(String name) throws IllegalArgumentException {
    if ((name == null) || (name.length() == 0)) {
    if (name == null || name.length() == 0) {
      throw new IllegalArgumentException("null or empty managed object name");
    }
@@ -510,7 +510,7 @@
   */
  public final PropertyDefinition<?> getPropertyDefinition(String name)
      throws IllegalArgumentException {
    if ((name == null) || (name.length() == 0)) {
    if (name == null || name.length() == 0) {
      throw new IllegalArgumentException("null or empty property name");
    }
@@ -556,7 +556,7 @@
   */
  public final RelationDefinition<?, ?> getRelationDefinition(String name)
      throws IllegalArgumentException {
    if ((name == null) || (name.length() == 0)) {
    if (name == null || name.length() == 0) {
      throw new IllegalArgumentException("null or empty relation name");
    }
@@ -619,7 +619,7 @@
  public final AggregationPropertyDefinition<?, ?>
    getAggregationPropertyDefinition(String name)
    throws IllegalArgumentException {
    if ((name == null) || (name.length() == 0)) {
    if (name == null || name.length() == 0) {
      throw new IllegalArgumentException(
        "null or empty aggregation property name");
    }
@@ -873,7 +873,7 @@
   *         definition is the {@link TopCfgDefn}.
   */
  public final boolean isTop() {
    return (this instanceof TopCfgDefn);
    return this instanceof TopCfgDefn;
  }