Commit 0f96bd2c authored by Marc Boorshtein's avatar Marc Boorshtein
Browse files

ITS-3911: Applied patch to rename enum->enumer

parent 9ba6e31f
......@@ -413,9 +413,9 @@ public class LDAPAttributeSchema extends LDAPSchemaElement {
this.names = readObject.getNames();
this.description = readObject.getDescription();
this.obsolete = readObject.isObsolete();
Enumeration enum = readObject.getQualifierNames();
while(enum.hasMoreElements()){
String xname = (String)enum.nextElement();
Enumeration enumer = readObject.getQualifierNames();
while(enumer.hasMoreElements()){
String xname = (String)enumer.nextElement();
String[] qualifierVals = readObject.getQualifier(xname);
this.setQualifier(xname, qualifierVals);
}
......
......@@ -321,9 +321,9 @@ public class LDAPDITContentRuleSchema
this.names = readObject.getNames();
this.description = readObject.getDescription();
this.obsolete = readObject.isObsolete();
Enumeration enum = readObject.getQualifierNames();
while(enum.hasMoreElements()){
String xname = (String)enum.nextElement();
Enumeration enumer = readObject.getQualifierNames();
while(enumer.hasMoreElements()){
String xname = (String)enumer.nextElement();
String[] qualifierVals = readObject.getQualifier(xname);
this.setQualifier(xname, qualifierVals);
}
......
......@@ -271,9 +271,9 @@ public class LDAPDITStructureRuleSchema
this.names = readObject.getNames();
this.description = readObject.getDescription();
this.obsolete = readObject.isObsolete();
Enumeration enum = readObject.getQualifierNames();
while(enum.hasMoreElements()){
String xname = (String)enum.nextElement();
Enumeration enumer = readObject.getQualifierNames();
while(enumer.hasMoreElements()){
String xname = (String)enumer.nextElement();
String[] qualifierVals = readObject.getQualifier(xname);
this.setQualifier(xname, qualifierVals);
}
......
......@@ -202,9 +202,9 @@ public class LDAPMatchingRuleSchema extends LDAPSchemaElement
this.names = readObject.getNames();
this.description = readObject.getDescription();
this.obsolete = readObject.isObsolete();
Enumeration enum = readObject.getQualifierNames();
while(enum.hasMoreElements()){
String xname = (String)enum.nextElement();
Enumeration enumer = readObject.getQualifierNames();
while(enumer.hasMoreElements()){
String xname = (String)enumer.nextElement();
String[] qualifierVals = readObject.getQualifier(xname);
this.setQualifier(xname, qualifierVals);
}
......
......@@ -189,9 +189,9 @@ public class LDAPMatchingRuleUseSchema
this.names = readObject.getNames();
this.description = readObject.getDescription();
this.obsolete = readObject.isObsolete();
Enumeration enum = readObject.getQualifierNames();
while(enum.hasMoreElements()){
String xname = (String)enum.nextElement();
Enumeration enumer = readObject.getQualifierNames();
while(enumer.hasMoreElements()){
String xname = (String)enumer.nextElement();
String[] qualifierVals = readObject.getQualifier(xname);
this.setQualifier(xname, qualifierVals);
}
......
......@@ -278,9 +278,9 @@ public class LDAPNameFormSchema
this.names = readObject.getNames();
this.description = readObject.getDescription();
this.obsolete = readObject.isObsolete();
Enumeration enum = readObject.getQualifierNames();
while(enum.hasMoreElements()){
String xname = (String)enum.nextElement();
Enumeration enumer = readObject.getQualifierNames();
while(enumer.hasMoreElements()){
String xname = (String)enumer.nextElement();
String[] qualifierVals = readObject.getQualifier(xname);
this.setQualifier(xname, qualifierVals);
}
......
......@@ -338,9 +338,9 @@ public class LDAPObjectClassSchema extends LDAPSchemaElement{
this.names = readObject.getNames();
this.description = readObject.getDescription();
this.obsolete = readObject.isObsolete();
Enumeration enum = readObject.getQualifierNames();
while(enum.hasMoreElements()){
String xname = (String)enum.nextElement();
Enumeration enumer = readObject.getQualifierNames();
while(enumer.hasMoreElements()){
String xname = (String)enumer.nextElement();
String[] qualifierVals = readObject.getQualifier(xname);
this.setQualifier(xname, qualifierVals);
}
......
......@@ -162,9 +162,9 @@ public class LDAPSyntaxSchema extends LDAPSchemaElement
this.names = readObject.getNames();
this.obsolete = readObject.obsolete;
this.description = readObject.description;
Enumeration enum = readObject.getQualifierNames();
while(enum.hasMoreElements()){
String xname = (String)enum.nextElement();
Enumeration enumer = readObject.getQualifierNames();
while(enumer.hasMoreElements()){
String xname = (String)enumer.nextElement();
String[] qualifierVals = readObject.getQualifier(xname);
this.setQualifier(xname, qualifierVals);
}
......@@ -181,8 +181,8 @@ public class LDAPSyntaxSchema extends LDAPSchemaElement
//String desc = this.getDescription();
//String names[] = this.getNames();
//boolean obs = this.isObsolete();
Enumeration enum = this.getQualifierNames();
String xname = (String)enum.nextElement(); //only single element in this
Enumeration enumer = this.getQualifierNames();
String xname = (String)enumer.nextElement(); //only single element in this
String[] qualifierVals = this.getQualifier(xname); //only single element in this
String value =
......@@ -197,8 +197,8 @@ public class LDAPSyntaxSchema extends LDAPSchemaElement
protected void writeValue(StringBuffer buff){
String oid = this.getID();
Enumeration enum = this.getQualifierNames();
String xname = (String)enum.nextElement();
Enumeration enumer = this.getQualifierNames();
String xname = (String)enumer.nextElement();
String[] qualifierVals = this.getQualifier(xname);
String value =
......
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