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

jvergara
04.09.2008 e1a25162e14221058383f0ef24739cecea7bfeae
Update the code of the ObjectClassValue class to handle the case where an entry has not an structural objectclass.
1 files modified
6 ■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ObjectClassValue.java 6 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ObjectClassValue.java
@@ -52,7 +52,11 @@
  {
    this.structural = structural;
    this.auxiliary.addAll(auxiliary);
    hashCode = structural.hashCode();
    if (structural != null)
    {
      // This can happen when the schema checking is not enabled.
      hashCode = structural.hashCode();
    }
    for (String oc : auxiliary)
    {
      hashCode += oc.hashCode();