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

abobrov
07.33.2007 ad253622c4980e715f2003c9bbfc5998f62bc06c
opendj-sdk/opends/src/server/org/opends/server/admin/AggregationPropertyDefinition.java
@@ -534,7 +534,9 @@
    PropertyDefinition<?> pd;
    pd = d.getPropertyDefinition(sourceEnabledPropertyName);
    return (BooleanPropertyDefinition) pd;
    // Runtime cast is required to workaround a
    // bug in JDK versions prior to 1.5.0_08.
    return BooleanPropertyDefinition.class.cast(pd);
  }
@@ -566,7 +568,9 @@
    d = relationDefinition.getChildDefinition();
    pd = d.getPropertyDefinition(targetEnabledPropertyName);
    return (BooleanPropertyDefinition) pd;
    // Runtime cast is required to workaround a
    // bug in JDK versions prior to 1.5.0_08.
    return BooleanPropertyDefinition.class.cast(pd);
  }