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

ludovicp
18.47.2010 ff9b49ad76234e3b60512fc479343030a6b367ad
opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2007-2009 Sun Microsystems, Inc.
 *      Copyright 2007-2010 Sun Microsystems, Inc.
 */
package org.opends.server.admin;
@@ -867,8 +867,6 @@
   *         definition is the {@link TopCfgDefn}.
   */
  public final boolean isTop() {
    // Casting to Object and instanceof check are required
    // to workaround a bug in JDK versions prior to 1.5.0_08.
    return (this instanceof TopCfgDefn);
  }
@@ -998,7 +996,7 @@
    propertyDefinitions.put(propName, d);
    allPropertyDefinitions.put(propName, d);
    if (d instanceof AggregationPropertyDefinition) {
    if (d instanceof AggregationPropertyDefinition<?,?>) {
      AggregationPropertyDefinition<?, ?> apd =
        (AggregationPropertyDefinition<?, ?>) d;
      aggregationPropertyDefinitions.put(propName, apd);