diff --git a/src/Spring/CommonAssemblyInfo.cs b/src/Spring/CommonAssemblyInfo.cs index 2e55c315..2c1d819b 100644 --- a/src/Spring/CommonAssemblyInfo.cs +++ b/src/Spring/CommonAssemblyInfo.cs @@ -28,7 +28,7 @@ using System.Reflection; // // This is to support side-by-side deployment of .NET 1.1 and .NET 2.0 versions of the assembly. -//note that this #if #elif #endif contstruct requires NET_#_# values be checked in DESCENDING order to work properly +//note that this #if #elif #endif construct requires NET_#_# values be checked in DESCENDING order to work properly // (e.g., add any new ones at the TOP of this construct!) #if NET_4_5 diff --git a/src/Spring/Spring.Core/Collections/Generic/ISet.cs b/src/Spring/Spring.Core/Collections/Generic/ISet.cs index 5e276777..28b96e4a 100644 --- a/src/Spring/Spring.Core/Collections/Generic/ISet.cs +++ b/src/Spring/Spring.Core/Collections/Generic/ISet.cs @@ -27,10 +27,10 @@ namespace Spring.Collections.Generic /// ///

A collection that contains no duplicate elements. This interface models the mathematical /// Set abstraction. - /// The order of elements in a set is dependant on (a)the data-structure implementation, and + /// The order of elements in a set is dependent on (a)the data-structure implementation, and /// (b)the implementation of the various Set methods, and thus is not guaranteed.

/// - ///

None of the Set implementations in this library are guranteed to be thread-safe + ///

None of the Set implementations in this library are guaranteed to be thread-safe /// in any way unless wrapped in a SynchronizedSet.

/// ///

The following table summarizes the binary operators that are supported by the Set class.

diff --git a/src/Spring/Spring.Core/Collections/PriorityQueue.cs b/src/Spring/Spring.Core/Collections/PriorityQueue.cs index 1447f6cb..9679d4ea 100644 --- a/src/Spring/Spring.Core/Collections/PriorityQueue.cs +++ b/src/Spring/Spring.Core/Collections/PriorityQueue.cs @@ -248,7 +248,7 @@ namespace Spring.Collections /// Performs an unsigned bitwise right shift with the specified number ///
/// Number to operate on - /// Ammount of bits to shift + /// Amount of bits to shift /// The resulting number from the shift operation private int urShift(int number, int bits) { @@ -616,7 +616,7 @@ namespace Spring.Collections /// /// Returns an over the elements in this queue. - /// The enumeratoar does not return the elements in any particular order. + /// The enumerator does not return the elements in any particular order. /// /// an enumerator over the elements in this queue. public override IEnumerator GetEnumerator() @@ -660,10 +660,10 @@ namespace Spring.Collections return result; } /// - /// Queries the queue to see if it contains the specified + /// Queries the queue to see if it contains the specified /// /// element to look for. - /// if the queue contains the , + /// if the queue contains the , /// otherwise. public bool Contains( object element ) { diff --git a/src/Spring/Spring.Core/Collections/SynchronizedHashtable.cs b/src/Spring/Spring.Core/Collections/SynchronizedHashtable.cs index 9aa51932..d9fa715b 100644 --- a/src/Spring/Spring.Core/Collections/SynchronizedHashtable.cs +++ b/src/Spring/Spring.Core/Collections/SynchronizedHashtable.cs @@ -68,7 +68,7 @@ namespace Spring.Collections { } /// - /// Initializes a new instance of , copying inital entries from + /// Initializes a new instance of , copying initial entries from /// handling keys depending on . /// public SynchronizedHashtable(IDictionary dictionary, bool ignoreCase) @@ -288,7 +288,7 @@ namespace Spring.Collections /// /// Returns, whether this contains an entry with the specified . /// - ///The valúe to look for + ///The value to look for ///, if this contains an entry with this public bool ContainsValue(object value) { diff --git a/src/Spring/Spring.Core/Context/Attributes/ConfigurationClassObjectDefinitionReader.cs b/src/Spring/Spring.Core/Context/Attributes/ConfigurationClassObjectDefinitionReader.cs index a2d0a9f4..c8051af0 100644 --- a/src/Spring/Spring.Core/Context/Attributes/ConfigurationClassObjectDefinitionReader.cs +++ b/src/Spring/Spring.Core/Context/Attributes/ConfigurationClassObjectDefinitionReader.cs @@ -221,7 +221,7 @@ namespace Spring.Context.Attributes } } - //TODO: container does not presently support the concept of Primary object defintion for type resolution + //TODO: container does not presently support the concept of Primary object definition for type resolution //if (Attribute.GetCustomAttribute(metadata, typeof(PrimaryAttribute)) != null) //{ // ObjectDef.isPrimary = true; diff --git a/src/Spring/Spring.Core/Context/Attributes/TypeFilters/CustomTypeFactory.cs b/src/Spring/Spring.Core/Context/Attributes/TypeFilters/CustomTypeFactory.cs index 45f7bc14..69464f06 100644 --- a/src/Spring/Spring.Core/Context/Attributes/TypeFilters/CustomTypeFactory.cs +++ b/src/Spring/Spring.Core/Context/Attributes/TypeFilters/CustomTypeFactory.cs @@ -27,7 +27,7 @@ using Spring.Objects.Factory.Support; namespace Spring.Context.Attributes.TypeFilters { /// - /// Creates a new instance of a givin type string + /// Creates a new instance of a given type string /// public static class CustomTypeFactory { diff --git a/src/Spring/Spring.Core/Context/Config/AttributeConfigObjectDefinitionParser.cs b/src/Spring/Spring.Core/Context/Config/AttributeConfigObjectDefinitionParser.cs index e73eae91..b39b6a2e 100644 --- a/src/Spring/Spring.Core/Context/Config/AttributeConfigObjectDefinitionParser.cs +++ b/src/Spring/Spring.Core/Context/Config/AttributeConfigObjectDefinitionParser.cs @@ -39,7 +39,7 @@ namespace Spring.Context.Config /// embedded in the supplied /// /// The element to be parsed. - /// TThe object encapsulating the current state of the parsing process. + /// The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry /// The primary object definition. /// diff --git a/src/Spring/Spring.Core/Context/Config/ComponentScanObjectDefinitionParser.cs b/src/Spring/Spring.Core/Context/Config/ComponentScanObjectDefinitionParser.cs index e4027bdf..9d1c2898 100644 --- a/src/Spring/Spring.Core/Context/Config/ComponentScanObjectDefinitionParser.cs +++ b/src/Spring/Spring.Core/Context/Config/ComponentScanObjectDefinitionParser.cs @@ -53,7 +53,7 @@ namespace Spring.Context.Config /// embedded in the supplied /// /// The element to be parsed. - /// TThe object encapsulating the current state of the parsing process. + /// The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry /// The primary object definition. /// diff --git a/src/Spring/Spring.Core/Objects/Factory/Xml/AbstractObjectDefinitionParser.cs b/src/Spring/Spring.Core/Objects/Factory/Xml/AbstractObjectDefinitionParser.cs index fdc730a0..a73fb858 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Xml/AbstractObjectDefinitionParser.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Xml/AbstractObjectDefinitionParser.cs @@ -98,7 +98,7 @@ namespace Spring.Objects.Factory.Xml /// embedded in the supplied /// /// The element to be parsed. - /// TThe object encapsulating the current state of the parsing process. + /// The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry /// The primary object definition. /// diff --git a/src/Spring/Spring.Core/Objects/Factory/Xml/IObjectDefinitionParser.cs b/src/Spring/Spring.Core/Objects/Factory/Xml/IObjectDefinitionParser.cs index 797a8ea3..0845feb5 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Xml/IObjectDefinitionParser.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Xml/IObjectDefinitionParser.cs @@ -47,7 +47,7 @@ namespace Spring.Objects.Factory.Xml /// The element to be parsed. /// /// - /// TThe object encapsulating the current state of the parsing process. + /// The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry /// /// diff --git a/src/Spring/Spring.Core/Objects/Factory/Xml/ObjectsNamespaceParser.cs b/src/Spring/Spring.Core/Objects/Factory/Xml/ObjectsNamespaceParser.cs index 8bb6d1ee..6495938f 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Xml/ObjectsNamespaceParser.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Xml/ObjectsNamespaceParser.cs @@ -98,7 +98,7 @@ namespace Spring.Objects.Factory.Xml /// embedded in the supplied /// /// The element to be parsed. - /// TThe object encapsulating the current state of the parsing process. + /// The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry /// The primary object definition. /// diff --git a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/Generic/HibernateTemplate.cs b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/Generic/HibernateTemplate.cs index 3fa01811..1ebfbc21 100644 --- a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/Generic/HibernateTemplate.cs +++ b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/Generic/HibernateTemplate.cs @@ -392,7 +392,7 @@ namespace Spring.Data.NHibernate.Generic /// /// Delete the given persistent instance. /// - /// Tthe persistent instance to delete. + /// The persistent instance to delete. /// The lock mode to obtain. /// /// Obtains the specified lock mode if the instance exists, implicitly @@ -578,7 +578,7 @@ namespace Spring.Data.NHibernate.Generic /// Save or update the given persistent instance, /// according to its id (matching the configured "unsaved-value"?). /// - /// Tthe persistent instance to save or update + /// The persistent instance to save or update /// (to be associated with the Hibernate Session). /// In case of Hibernate errors public void SaveOrUpdate(object entity) diff --git a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/HibernateTemplate.cs b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/HibernateTemplate.cs index f4efc560..df8f2a35 100644 --- a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/HibernateTemplate.cs +++ b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/HibernateTemplate.cs @@ -626,7 +626,7 @@ namespace Spring.Data.NHibernate /// Save or update the given persistent instance, /// according to its id (matching the configured "unsaved-value"?). /// - /// Tthe persistent instance to save or update + /// The persistent instance to save or update /// (to be associated with the Hibernate Session). /// In case of Hibernate errors public void SaveOrUpdate(object entity) @@ -638,7 +638,7 @@ namespace Spring.Data.NHibernate /// Save or update all given persistent instances, /// according to its id (matching the configured "unsaved-value"?). /// - /// Tthe persistent instances to save or update + /// The persistent instances to save or update /// (to be associated with the Hibernate Session)he entities. /// In case of Hibernate errors public void SaveOrUpdateAll(ICollection entities) @@ -729,7 +729,7 @@ namespace Spring.Data.NHibernate /// /// Delete the given persistent instance. /// - /// Tthe persistent instance to delete. + /// The persistent instance to delete. /// The lock mode to obtain. /// /// Obtains the specified lock mode if the instance exists, implicitly diff --git a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/ICommonHibernateOperations.cs b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/ICommonHibernateOperations.cs index 1966fccf..068210ef 100644 --- a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/ICommonHibernateOperations.cs +++ b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/ICommonHibernateOperations.cs @@ -69,7 +69,7 @@ namespace Spring.Data.NHibernate /// checking whether the corresponding database entry still exists /// (throwing an OptimisticLockingFailureException if not found). /// - /// Tthe persistent instance to delete. + /// The persistent instance to delete. /// The lock mode to obtain. /// In case of Hibernate errors void Delete(object entity, LockMode lockMode); @@ -217,7 +217,7 @@ namespace Spring.Data.NHibernate /// Save or update the given persistent instance, /// according to its id (matching the configured "unsaved-value"?). /// - /// Tthe persistent instance to save or update + /// The persistent instance to save or update /// (to be associated with the Hibernate Session). /// In case of Hibernate errors void SaveOrUpdate(object entity); diff --git a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/IHibernateOperations.cs b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/IHibernateOperations.cs index df3ee672..00f9e36a 100644 --- a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/IHibernateOperations.cs +++ b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/IHibernateOperations.cs @@ -425,7 +425,7 @@ namespace Spring.Data.NHibernate /// Save or update all given persistent instances, /// according to its id (matching the configured "unsaved-value"?). /// - /// Tthe persistent instances to save or update + /// The persistent instances to save or update /// (to be associated with the Hibernate Session)he entities. /// In case of Hibernate errors void SaveOrUpdateAll(ICollection entities); diff --git a/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Common/EmsConnection.cs b/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Common/EmsConnection.cs index 99593aac..cf6d1618 100644 --- a/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Common/EmsConnection.cs +++ b/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Common/EmsConnection.cs @@ -144,7 +144,7 @@ namespace Spring.Messaging.Ems.Common /// /// Creates the session. /// - /// if set to true the session has transaction semantcis. + /// if set to true the session has transaction semantics. /// Indicates whether and how the consumer is to acknowledge received messages. /// This version of CreateSession accepts an integer value associated with the acknowledge mode described by a Session member and should only be used for backward compatibility. /// This parameter is ignored if the session is transacted. diff --git a/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Config/MessageListenerContainerObjectDefinitionParser.cs b/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Config/MessageListenerContainerObjectDefinitionParser.cs index 9b5394c6..0e635d70 100644 --- a/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Config/MessageListenerContainerObjectDefinitionParser.cs +++ b/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Config/MessageListenerContainerObjectDefinitionParser.cs @@ -109,7 +109,7 @@ namespace Spring.Messaging.Ems.Config /// embedded in the supplied /// /// The element to be parsed. - /// TThe object encapsulating the current state of the parsing process. + /// The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry /// The primary object definition. /// diff --git a/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Listener/Adapter/MessageListenerAdapter.cs b/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Listener/Adapter/MessageListenerAdapter.cs index 337793c6..09a19d90 100644 --- a/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Listener/Adapter/MessageListenerAdapter.cs +++ b/src/Spring/Spring.Messaging.Ems/Messaging/Ems/Listener/Adapter/MessageListenerAdapter.cs @@ -458,7 +458,7 @@ namespace Spring.Messaging.Ems.Listener.Adapter /// /// /// The original incoming message. - /// Tthe outgoing message about to be sent. + /// The outgoing message about to be sent. /// The session to operate on. /// the response destination (never null) /// if thrown by EMS API methods diff --git a/src/Spring/Spring.Messaging.Nms/Messaging/Nms/Config/MessageListenerContainerObjectDefinitionParser.cs b/src/Spring/Spring.Messaging.Nms/Messaging/Nms/Config/MessageListenerContainerObjectDefinitionParser.cs index 0c1ef42f..51d4e2ef 100644 --- a/src/Spring/Spring.Messaging.Nms/Messaging/Nms/Config/MessageListenerContainerObjectDefinitionParser.cs +++ b/src/Spring/Spring.Messaging.Nms/Messaging/Nms/Config/MessageListenerContainerObjectDefinitionParser.cs @@ -109,7 +109,7 @@ namespace Spring.Messaging.Nms.Config /// embedded in the supplied /// /// The element to be parsed. - /// TThe object encapsulating the current state of the parsing process. + /// The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry /// The primary object definition. /// diff --git a/src/Spring/Spring.Messaging.Nms/Messaging/Nms/Listener/Adapter/MessageListenerAdapter.cs b/src/Spring/Spring.Messaging.Nms/Messaging/Nms/Listener/Adapter/MessageListenerAdapter.cs index 379c79a1..05815ced 100644 --- a/src/Spring/Spring.Messaging.Nms/Messaging/Nms/Listener/Adapter/MessageListenerAdapter.cs +++ b/src/Spring/Spring.Messaging.Nms/Messaging/Nms/Listener/Adapter/MessageListenerAdapter.cs @@ -481,7 +481,7 @@ namespace Spring.Messaging.Nms.Listener.Adapter /// /// /// The original incoming message. - /// Tthe outgoing message about to be sent. + /// The outgoing message about to be sent. /// The session to operate on. /// the response destination (never null) /// if thrown by NMS API methods diff --git a/test/Spring/Spring.Core.Tests/Expressions/ExpressionEvaluatorTests.cs b/test/Spring/Spring.Core.Tests/Expressions/ExpressionEvaluatorTests.cs index 54931d03..16ebe788 100644 --- a/test/Spring/Spring.Core.Tests/Expressions/ExpressionEvaluatorTests.cs +++ b/test/Spring/Spring.Core.Tests/Expressions/ExpressionEvaluatorTests.cs @@ -2245,7 +2245,7 @@ namespace Spring.Expressions args["bars"] = new Bar[] { new Bar() }; Foo foo = new Foo(); - // ensure noone changed our test class + // ensure no one changed our test class Assert.AreEqual("ExactMatch", foo.MethodWithSimilarArguments(1, (Bar[])args["bars"])); Assert.AreEqual("AssignableMatch", foo.MethodWithSimilarArguments(1, (ICollection)args["bars"])); @@ -2259,7 +2259,7 @@ namespace Spring.Expressions args["bars"] = new Bar[] { new Bar() }; Foo foo = new Foo(); - // ensure noone changed our test class + // ensure no one changed our test class Assert.AreEqual("ExactMatch", foo[(Bar[])args["bars"]]); Assert.AreEqual("AssignableMatch", foo[(ICollection)args["bars"]]); @@ -2274,7 +2274,7 @@ namespace Spring.Expressions Dictionary args = new Dictionary(); args["bars"] = new Bar[] { new Bar() }; - // ensure noone changed our test class + // ensure no one changed our test class Foo foo1 = new Foo(1, (Bar[])args["bars"]); try { diff --git a/test/Spring/Spring.Core.Tests/Util/ReflectionUtilsTests.cs b/test/Spring/Spring.Core.Tests/Util/ReflectionUtilsTests.cs index 90d343ee..e8b35cc2 100644 --- a/test/Spring/Spring.Core.Tests/Util/ReflectionUtilsTests.cs +++ b/test/Spring/Spring.Core.Tests/Util/ReflectionUtilsTests.cs @@ -907,7 +907,7 @@ namespace Spring.Util ,type.GetMethod("ParamOverloadedMethod", new Type[] {typeof(string), typeof(string), typeof(string), typeof(string), typeof(object[])}) }; - // ensure noone changed our test class + // ensure no one changed our test class Assert.IsNotNull(candidateMethods[0]); Assert.IsNotNull(candidateMethods[1]); Assert.IsNotNull(candidateMethods[2]); @@ -934,7 +934,7 @@ namespace Spring.Util , type.GetMethod("MethodWithSimilarArguments", new Type[] {typeof(int), typeof(object[])}) }; - // ensure noone changed our test class + // ensure no one changed our test class Assert.IsNotNull(candidateMethods[0]); Assert.IsNotNull(candidateMethods[1]); Assert.IsNotNull(candidateMethods[2]); @@ -961,7 +961,7 @@ namespace Spring.Util , type.GetMethod("MethodWithNullableArgument", new Type[] {typeof(int?)}) }; - // ensure noone changed our test class + // ensure no one changed our test class Assert.IsNotNull(candidateMethods[0]); Assert.IsNotNull(candidateMethods[1]); Assert.IsNotNull(candidateMethods[2]); diff --git a/test/Spring/Spring.Data.Tests/Data/Common/DbProviderFactoryTests.cs b/test/Spring/Spring.Data.Tests/Data/Common/DbProviderFactoryTests.cs index 171375b6..08814ab5 100644 --- a/test/Spring/Spring.Data.Tests/Data/Common/DbProviderFactoryTests.cs +++ b/test/Spring/Spring.Data.Tests/Data/Common/DbProviderFactoryTests.cs @@ -66,7 +66,7 @@ namespace Spring.Data.Common public void SetUp() { //Other tests in this assembly will have already initialized the internal context that is part of DbProviderFactory - //Reset it back to null so that tests for specifiying additional database providers will be able 're-initialize' + //Reset it back to null so that tests for specifying additional database providers will be able 're-initialize' //the internal Context of DbProviderFactory. //Spring.Objects.Factory.Xml.NamespaceParserRegistry.RegisterParser(typeof(Spring.Data.Config.DatabaseNamespaceParser)); if (DbProviderFactory.ApplicationContext != null) @@ -266,7 +266,7 @@ namespace Spring.Data.Common public void DefaultInstanceWithMySql() { DbProviderFactory.DBPROVIDER_ADDITIONAL_RESOURCE_NAME = - "assembly://Spring.Data.Tests/Spring.Data.Common/AdditonalProviders.xml"; + "assembly://Spring.Data.Tests/Spring.Data.Common/AdditionalProviders.xml"; IDbProvider provider = DbProviderFactory.GetDbProvider("MySqlPersonal"); Assert.AreEqual("MySQL, MySQL provider 1.0.7.30072", provider.DbMetadata.ProductName);