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

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

parent 4e2f884a
......@@ -156,6 +156,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement {
this.collective = collective;
this.userMod = isUserModifiable;
this.usage = usage;
this.superior = superior;
super.setValue(formatString());
return;
}
......@@ -183,7 +184,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement {
if( parser.getSyntax() != null)
syntaxString = parser.getSyntax();
if( parser.getSuperior() != null)
syntaxString = parser.getSuperior();
this.superior = parser.getSuperior();
single = parser.getSingle();
super.obsolete = parser.getObsolete();
Enumeration qualifiers = parser.getQualifiers();
......@@ -530,7 +531,7 @@ public class LDAPAttributeSchema extends LDAPSchemaElement {
if( parser.getSyntax() != null)
attr.syntaxString = parser.getSyntax();
if( parser.getSuperior() != null)
attr.syntaxString = parser.getSuperior();
attr.superior = parser.getSuperior();
attr.single = parser.getSingle();
attr.obsolete = parser.getObsolete();
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