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

jvergara
04.09.2008 4e498e7e2d7d501e12b2f2762c63e59cc5c9be81
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
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ObjectClassValue.java 6 ●●●● patch | view | raw | blame | history
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();