Commit 1cc4460e authored by Sunil Kumar's avatar Sunil Kumar
Browse files

The member superior not set in LDAPAttributeSchema.java. Rectified to work properly.

parent 4e2f884a
...@@ -156,6 +156,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement { ...@@ -156,6 +156,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement {
this.collective = collective; this.collective = collective;
this.userMod = isUserModifiable; this.userMod = isUserModifiable;
this.usage = usage; this.usage = usage;
this.superior = superior;
super.setValue(formatString()); super.setValue(formatString());
return; return;
} }
...@@ -183,7 +184,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement { ...@@ -183,7 +184,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement {
if( parser.getSyntax() != null) if( parser.getSyntax() != null)
syntaxString = parser.getSyntax(); syntaxString = parser.getSyntax();
if( parser.getSuperior() != null) if( parser.getSuperior() != null)
syntaxString = parser.getSuperior(); this.superior = parser.getSuperior();
single = parser.getSingle(); single = parser.getSingle();
super.obsolete = parser.getObsolete(); super.obsolete = parser.getObsolete();
Enumeration qualifiers = parser.getQualifiers(); Enumeration qualifiers = parser.getQualifiers();
...@@ -530,7 +531,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement { ...@@ -530,7 +531,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement {
if( parser.getSyntax() != null) if( parser.getSyntax() != null)
attr.syntaxString = parser.getSyntax(); attr.syntaxString = parser.getSyntax();
if( parser.getSuperior() != null) if( parser.getSuperior() != null)
attr.syntaxString = parser.getSuperior(); attr.superior = parser.getSuperior();
attr.single = parser.getSingle(); attr.single = parser.getSingle();
attr.obsolete = parser.getObsolete(); attr.obsolete = parser.getObsolete();
Enumeration qualifiers = parser.getQualifiers(); Enumeration qualifiers = parser.getQualifiers();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment