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

ludovicp
18.47.2010 ff9b49ad76234e3b60512fc479343030a6b367ad
opends/src/server/org/opends/server/tools/dsconfig/CreateSubCommandHandler.java
@@ -572,11 +572,9 @@
    try {
      for (PropertyDefinition<?> pd : d.getAllPropertyDefinitions()) {
        if (pd instanceof AggregationPropertyDefinition) {
          // Runtime cast is required to workaround a
          // bug in JDK versions prior to 1.5.0_08.
        if (pd instanceof AggregationPropertyDefinition<?,?>) {
          AggregationPropertyDefinition<?, ?> apd =
            AggregationPropertyDefinition.class.cast(pd);
            (AggregationPropertyDefinition<?, ?>)pd;
          // Skip this aggregation if the referenced managed objects
          // do not need to be enabled.