diff --git a/src/Spring/Spring.Core/Context/ApplicationEventArgs.cs b/src/Spring/Spring.Core/Context/ApplicationEventArgs.cs index ed31642e8..663834295 100644 --- a/src/Spring/Spring.Core/Context/ApplicationEventArgs.cs +++ b/src/Spring/Spring.Core/Context/ApplicationEventArgs.cs @@ -40,10 +40,10 @@ public ApplicationEventArgs() } /// - /// The date and time when the event occured. + /// The date and time when the event occurred. /// /// - /// The date and time when the event occured. + /// The date and time when the event occurred. /// public DateTime TimeStamp { diff --git a/src/Spring/Spring.Core/Context/Support/AbstractApplicationContext.cs b/src/Spring/Spring.Core/Context/Support/AbstractApplicationContext.cs index 4c72f6400..b8a41f500 100644 --- a/src/Spring/Spring.Core/Context/Support/AbstractApplicationContext.cs +++ b/src/Spring/Spring.Core/Context/Support/AbstractApplicationContext.cs @@ -390,7 +390,7 @@ protected virtual void OnContextEvent(object source, ApplicationEventArgs e) { Delegate target = ContextEvent.GetInvocationList()[0]; Exception exception = exceptions[target]; - throw new ApplicationContextException(string.Format("An unhandled exception occured during processing application event {0} in handler {1}", e.GetType(), target.Method), exception); + throw new ApplicationContextException(string.Format("An unhandled exception occurred during processing application event {0} in handler {1}", e.GetType(), target.Method), exception); } } diff --git a/src/Spring/Spring.Core/Objects/Factory/Config/DelegateFactoryObject.cs b/src/Spring/Spring.Core/Objects/Factory/Config/DelegateFactoryObject.cs index 4994595d6..a6025a019 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Config/DelegateFactoryObject.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Config/DelegateFactoryObject.cs @@ -79,7 +79,7 @@ public override void AfterPropertiesSet() /// Creates the delegate. /// /// - /// If an exception occured during object creation. + /// If an exception occurred during object creation. /// /// The object returned by this factory. /// diff --git a/src/Spring/Spring.Core/Objects/Factory/Config/PropertyOverrideConfigurer.cs b/src/Spring/Spring.Core/Objects/Factory/Config/PropertyOverrideConfigurer.cs index 346d25b26..54f394413 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Config/PropertyOverrideConfigurer.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Config/PropertyOverrideConfigurer.cs @@ -111,7 +111,7 @@ public class PropertyOverrideConfigurer : PropertyResourceConfigurer /// /// The properties to apply. /// - /// If an error occured. + /// If an error occurred. /// protected override void ProcessProperties( IConfigurableListableObjectFactory factory, NameValueCollection props) diff --git a/src/Spring/Spring.Core/Objects/Factory/Config/PropertyPlaceholderConfigurer.cs b/src/Spring/Spring.Core/Objects/Factory/Config/PropertyPlaceholderConfigurer.cs index ff9626f01..4dc806346 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Config/PropertyPlaceholderConfigurer.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Config/PropertyPlaceholderConfigurer.cs @@ -215,7 +215,7 @@ public bool IncludeAncestors /// /// The properties to apply. /// - /// If an error occured. + /// If an error occurred. /// protected override void ProcessProperties(IConfigurableListableObjectFactory factory, NameValueCollection props) { diff --git a/src/Spring/Spring.Core/Objects/Factory/Config/PropertyRetrievingFactoryObject.cs b/src/Spring/Spring.Core/Objects/Factory/Config/PropertyRetrievingFactoryObject.cs index d0341afa5..762284b51 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Config/PropertyRetrievingFactoryObject.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Config/PropertyRetrievingFactoryObject.cs @@ -238,7 +238,7 @@ public override void AfterPropertiesSet() /// returned by this factory. /// /// - /// If an exception occured during object creation. + /// If an exception occurred during object creation. /// /// The object returned by this factory. protected override object CreateInstance() diff --git a/src/Spring/Spring.Core/Objects/Factory/Config/VariablePlaceholderConfigurer.cs b/src/Spring/Spring.Core/Objects/Factory/Config/VariablePlaceholderConfigurer.cs index 5ed409772..b62e2fa00 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Config/VariablePlaceholderConfigurer.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Config/VariablePlaceholderConfigurer.cs @@ -223,7 +223,7 @@ public int Order /// used by the application context. /// /// - /// If an error occured. + /// If an error occurred. /// protected virtual void ProcessProperties(IConfigurableListableObjectFactory factory) { diff --git a/src/Spring/Spring.Core/Util/ConfigurationUtils.cs b/src/Spring/Spring.Core/Util/ConfigurationUtils.cs index 4767d65ed..2b78a493c 100644 --- a/src/Spring/Spring.Core/Util/ConfigurationUtils.cs +++ b/src/Spring/Spring.Core/Util/ConfigurationUtils.cs @@ -101,7 +101,7 @@ public static void RefreshSection(string sectionName) /// The message to display to the client when the exception is thrown. /// The inner exception. /// Name of the configuration file. - /// The line where exception occured. + /// The line where exception occurred. /// Configuration exception. public static Exception CreateConfigurationException(string message, Exception inner, string fileName, int line) { @@ -113,7 +113,7 @@ public static Exception CreateConfigurationException(string message, Exception i /// /// The message to display to the client when the exception is thrown. /// Name of the configuration file. - /// The line where exception occured. + /// The line where exception occurred. /// Configuration exception. public static Exception CreateConfigurationException(string message, string fileName, int line) { @@ -125,7 +125,7 @@ public static Exception CreateConfigurationException(string message, string file /// /// The message to display to the client when the exception is thrown. /// The inner exception. - /// XML node where exception occured. + /// XML node where exception occurred. /// Configuration exception. public static Exception CreateConfigurationException(string message, Exception inner, XmlNode node) { @@ -136,7 +136,7 @@ public static Exception CreateConfigurationException(string message, Exception i /// Creates the configuration exception. /// /// The message to display to the client when the exception is thrown. - /// XML node where exception occured. + /// XML node where exception occurred. /// Configuration exception. public static Exception CreateConfigurationException(string message, XmlNode node) { diff --git a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/Generic/HibernateDaoSupport.cs b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/Generic/HibernateDaoSupport.cs index bfd394fb7..efc7adc57 100644 --- a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/Generic/HibernateDaoSupport.cs +++ b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/Generic/HibernateDaoSupport.cs @@ -179,7 +179,7 @@ protected ISession DoGetSession(bool allowCreate) /// org.springframework.dao hierarchy. Will automatically detect /// wrapped ADO.NET Exceptions and convert them accordingly. /// - /// HibernateException that occured. + /// HibernateException that occurred. /// /// The corresponding DataAccessException instance /// diff --git a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateAccessor.cs b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateAccessor.cs index e98975d01..87eb0d74c 100644 --- a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateAccessor.cs +++ b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateAccessor.cs @@ -391,7 +391,7 @@ protected void FlushIfNecessary(ISession session, bool existingTransaction) /// org.springframework.dao hierarchy. Will automatically detect /// wrapped ADO.NET Exceptions and convert them accordingly. /// - /// HibernateException that occured. + /// HibernateException that occurred. /// /// The corresponding DataAccessException instance /// @@ -413,7 +413,7 @@ public virtual DataAccessException ConvertHibernateAccessException(HibernateExce /// Converts the ADO.NET access exception to an appropriate exception from the /// org.springframework.dao hierarchy. Can be overridden in subclasses. /// - /// ADOException that occured, wrapping underlying ADO.NET exception. + /// ADOException that occurred, wrapping underlying ADO.NET exception. /// /// the corresponding DataAccessException instance /// diff --git a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateTransactionManager.cs b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateTransactionManager.cs index 3ff67c055..1aa381b83 100644 --- a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateTransactionManager.cs +++ b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateTransactionManager.cs @@ -658,7 +658,7 @@ protected virtual IDbTransaction GetIDbTransaction(ITransaction hibernateTx) /// Convert the given HibernateException to an appropriate exception from /// the Spring.Dao hierarchy. Can be overridden in subclasses. /// - /// The HibernateException that occured. + /// The HibernateException that occurred. /// The corresponding DataAccessException instance protected virtual DataAccessException ConvertHibernateAccessException(HibernateException ex) { @@ -678,7 +678,7 @@ protected virtual DataAccessException ConvertHibernateAccessException(HibernateE /// Convert the given ADOException to an appropriate exception from the /// the Spring.Dao hierarchy. Can be overridden in subclasses. /// - /// The ADOException that occured, wrapping the underlying + /// The ADOException that occurred, wrapping the underlying /// ADO.NET thrown exception. /// The translator to convert hibernate ADOExceptions. /// diff --git a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateTxScopeTransactionManager.cs b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateTxScopeTransactionManager.cs index 10b524a68..bf9489321 100644 --- a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateTxScopeTransactionManager.cs +++ b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/HibernateTxScopeTransactionManager.cs @@ -846,7 +846,7 @@ protected IDbTransaction GetIDbTransaction(ITransaction hibernateTx) /// Convert the given HibernateException to an appropriate exception from /// the Spring.Dao hierarchy. Can be overridden in subclasses. /// - /// The HibernateException that occured. + /// The HibernateException that occurred. /// The corresponding DataAccessException instance protected virtual DataAccessException ConvertHibernateAccessException(HibernateException ex) { @@ -866,7 +866,7 @@ protected virtual DataAccessException ConvertHibernateAccessException(HibernateE /// Convert the given ADOException to an appropriate exception from the /// the Spring.Dao hierarchy. Can be overridden in subclasses. /// - /// The ADOException that occured, wrapping the underlying + /// The ADOException that occurred, wrapping the underlying /// ADO.NET thrown exception. /// The translator to convert hibernate ADOExceptions. /// diff --git a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/LocalSessionFactoryObject.cs b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/LocalSessionFactoryObject.cs index f4163b5e5..1f16aad29 100644 --- a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/LocalSessionFactoryObject.cs +++ b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/LocalSessionFactoryObject.cs @@ -965,7 +965,7 @@ public DataAccessException TranslateExceptionIfPossible(Exception ex) /// Will automatically apply a specified IAdoExceptionTranslator to a /// Hibernate ADOException, else rely on Hibernate's default translation. /// - /// The Hibernate exception that occured. + /// The Hibernate exception that occurred. /// A corresponding DataAccessException protected virtual DataAccessException ConvertHibernateException(HibernateException ex) { @@ -981,7 +981,7 @@ protected virtual DataAccessException ConvertHibernateException(HibernateExcepti /// Converts the ADO.NET access exception to an appropriate exception from the /// org.springframework.dao hierarchy. Can be overridden in subclasses. /// - /// ADOException that occured, wrapping underlying ADO.NET exception. + /// ADOException that occurred, wrapping underlying ADO.NET exception. /// /// the corresponding DataAccessException instance /// diff --git a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/SessionFactoryUtils.cs b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/SessionFactoryUtils.cs index e56300c03..9cc9499ef 100644 --- a/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/SessionFactoryUtils.cs +++ b/src/Spring/Spring.Data.NHibernate5/Data/NHibernate/SessionFactoryUtils.cs @@ -411,7 +411,7 @@ public static DataAccessException ConvertAdoAccessException(IAdoExceptionTransla /// handle AdoException specifically by using a AdoExceptionTranslator for the /// underlying ADO.NET exception. /// - /// The Hibernate exception that occured. + /// The Hibernate exception that occurred. /// DataAccessException instance public static DataAccessException ConvertHibernateAccessException(HibernateException ex) { diff --git a/src/Spring/Spring.Services/Remoting/CaoFactoryObject.cs b/src/Spring/Spring.Services/Remoting/CaoFactoryObject.cs index 365db99e1..4cd53f801 100644 --- a/src/Spring/Spring.Services/Remoting/CaoFactoryObject.cs +++ b/src/Spring/Spring.Services/Remoting/CaoFactoryObject.cs @@ -72,7 +72,7 @@ public CaoFactoryObject() /// /// Callback method called once all factory properties have been set. /// - /// if an error occured + /// if an error occurred public void AfterPropertiesSet() { if (RemoteTargetName == null) diff --git a/src/Spring/Spring.Services/Remoting/SaoFactoryObject.cs b/src/Spring/Spring.Services/Remoting/SaoFactoryObject.cs index 69a5a4f3a..93d365df6 100644 --- a/src/Spring/Spring.Services/Remoting/SaoFactoryObject.cs +++ b/src/Spring/Spring.Services/Remoting/SaoFactoryObject.cs @@ -64,7 +64,7 @@ public SaoFactoryObject() /// /// Callback method called once all factory properties have been set. /// - /// if an error occured + /// if an error occurred public void AfterPropertiesSet() { if (ServiceUrl == null) diff --git a/src/Spring/Spring.Web/Web/Support/Result.cs b/src/Spring/Spring.Web/Web/Support/Result.cs index 77c50ae0d..35080a25d 100644 --- a/src/Spring/Spring.Web/Web/Support/Result.cs +++ b/src/Spring/Spring.Web/Web/Support/Result.cs @@ -374,7 +374,7 @@ protected virtual StringBuilder BuildUrlParameter(StringBuilder url, string key, /// /// the context to be used for evaluation. /// the string that might need evaluation - /// the evaluation result. Unodified if no evalution occured. + /// the evaluation result. Unodified if no evalution occurred. protected virtual object ResolveValueIfNecessary(object context, string value) { return ResolveSpELRuntimeExpressionIfNecessary(context, value);