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