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

matthew_swift
20.06.2007 1c45c905fb44ecb8c3b267674a5d62c613ce9a9f
Fix potential NPE in generated code.
1 files modified
2 ■■■■■ changed files
opends/resource/admin/property-types/aggregation.xsl 2 ●●●●● patch | view | raw | blame | history
opends/resource/admin/property-types/aggregation.xsl
@@ -206,6 +206,8 @@
          <xsl:value-of
            select="concat('      String value = get', $java-property-name, '();&#xa;')" />
          <xsl:value-of
            select="concat('      if (value == null) return null;&#xa;')" />
          <xsl:value-of
            select="concat('      return INSTANCE.get', $java-property-name, 'PropertyDefinition().getChildDN(value);&#xa;')" />
          <xsl:value-of select="'    }&#xa;'" />
        </xsl:when>