diff options
Diffstat (limited to 'mcs/class/Novell.Directory.Ldap')
3 files changed, 6 insertions, 2 deletions
diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog index 51e2dff9148..4336397c95b 100644 --- a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog +++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog @@ -1,3 +1,7 @@ +2006-06-02 Konstantin Triger <kostat@mainsoft.com> + + * SchemaParser.cs, RespControlVector.cs: performance refactoring. + 2005-16-11 Eyal Alaluf <eyala@mainsoft.com> * RespExtensionSet.cs: Workaround for csc bug diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespControlVector.cs b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespControlVector.cs index 1732bd46d38..6096eaccdb2 100644 --- a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespControlVector.cs +++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespControlVector.cs @@ -102,7 +102,7 @@ namespace Novell.Directory.Ldap.Utilclass { /* Get next registered control */ - if ((ctl = (RegisteredControl) ToArray()[i]) == null) + if ((ctl = (RegisteredControl) this[i]) == null) { throw new System.FieldAccessException(); } diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/SchemaParser.cs b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/SchemaParser.cs index 39c6a173219..fa8293f71b2 100644 --- a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/SchemaParser.cs +++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/SchemaParser.cs @@ -68,7 +68,7 @@ namespace Novell.Directory.Ldap.Utilclass { get { - return new ArrayEnumeration(qualifiers.ToArray()); + return qualifiers.GetEnumerator(); } } |