From: <fab...@us...> - 2009-06-21 13:22:12
|
Revision: 4501 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4501&view=rev Author: fabiomaulo Date: 2009-06-21 12:18:09 +0000 (Sun, 21 Jun 2009) Log Message: ----------- Minor (removed some warning) Modified Paths: -------------- trunk/nhibernate/src/NHibernate/Bytecode/ICollectionTypeFactory.cs trunk/nhibernate/src/NHibernate/Engine/Transaction/IIsolatedWork.cs trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/CaseInsensitiveStringStream.cs trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/ErrorCounter.cs trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/QueryTranslatorImpl.cs trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SessionFactoryHelperExtensions.cs trunk/nhibernate/src/NHibernate/Impl/SessionImpl.cs Modified: trunk/nhibernate/src/NHibernate/Bytecode/ICollectionTypeFactory.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Bytecode/ICollectionTypeFactory.cs 2009-06-21 11:40:14 UTC (rev 4500) +++ trunk/nhibernate/src/NHibernate/Bytecode/ICollectionTypeFactory.cs 2009-06-21 12:18:09 UTC (rev 4501) @@ -235,8 +235,8 @@ /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is - /// the primary key.< - /// /param> + /// the primary key. + /// </param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="MapType"/> for the specified role. Modified: trunk/nhibernate/src/NHibernate/Engine/Transaction/IIsolatedWork.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/Transaction/IIsolatedWork.cs 2009-06-21 11:40:14 UTC (rev 4500) +++ trunk/nhibernate/src/NHibernate/Engine/Transaction/IIsolatedWork.cs 2009-06-21 12:18:09 UTC (rev 4501) @@ -13,6 +13,7 @@ /// Perform the actual work to be done. /// </summary> /// <param name="connection">The ADP connection to use.</param> + /// <param name="transaction">The active transaction of the connection.</param> void DoWork(IDbConnection connection, IDbTransaction transaction); } } \ No newline at end of file Modified: trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/CaseInsensitiveStringStream.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/CaseInsensitiveStringStream.cs 2009-06-21 11:40:14 UTC (rev 4500) +++ trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/CaseInsensitiveStringStream.cs 2009-06-21 12:18:09 UTC (rev 4501) @@ -7,7 +7,6 @@ /// Look ahead for tokenizing is all lowercase, whereas the original case of an input stream is preserved. /// Copied from http://www.antlr.org/wiki/pages/viewpage.action?pageId=1782 ///</summary> - [CLSCompliant(false)] internal class CaseInsensitiveStringStream : ANTLRStringStream { public CaseInsensitiveStringStream(string input) : base(input) { } Modified: trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/ErrorCounter.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/ErrorCounter.cs 2009-06-21 11:40:14 UTC (rev 4500) +++ trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/ErrorCounter.cs 2009-06-21 12:18:09 UTC (rev 4501) @@ -9,7 +9,6 @@ /// <summary> /// An error handler that counts parsing errors and warnings. /// </summary> - [CLSCompliant(false)] internal class ErrorCounter : IParseErrorHandler { private static readonly ILog log = LogManager.GetLogger(typeof(ErrorCounter)); Modified: trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/QueryTranslatorImpl.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/QueryTranslatorImpl.cs 2009-06-21 11:40:14 UTC (rev 4500) +++ trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/QueryTranslatorImpl.cs 2009-06-21 12:18:09 UTC (rev 4501) @@ -449,7 +449,6 @@ } } - [CLSCompliant(false)] internal class HqlParseEngine { private static readonly ILog log = LogManager.GetLogger(typeof(HqlParseEngine)); @@ -560,7 +559,6 @@ } } - [CLSCompliant(false)] internal class HqlSqlTranslator { private readonly IASTNode _inputAst; @@ -613,7 +611,6 @@ } } - [CLSCompliant(false)] internal class HqlSqlGenerator { private static readonly ILog log = LogManager.GetLogger(typeof(HqlSqlGenerator)); Modified: trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SessionFactoryHelperExtensions.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SessionFactoryHelperExtensions.cs 2009-06-21 11:40:14 UTC (rev 4500) +++ trunk/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SessionFactoryHelperExtensions.cs 2009-06-21 12:18:09 UTC (rev 4501) @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using NHibernate.Dialect.Function; using NHibernate.Engine; using NHibernate.Hql.Ast.ANTLR.Tree; @@ -14,7 +13,7 @@ namespace NHibernate.Hql.Ast.ANTLR { [CLSCompliant(false)] - internal class SessionFactoryHelperExtensions + public class SessionFactoryHelperExtensions { private readonly ISessionFactoryImplementor _sfi; private readonly NullableDictionary<string, IPropertyMapping> _collectionPropertyMappingByRole; Modified: trunk/nhibernate/src/NHibernate/Impl/SessionImpl.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Impl/SessionImpl.cs 2009-06-21 11:40:14 UTC (rev 4500) +++ trunk/nhibernate/src/NHibernate/Impl/SessionImpl.cs 2009-06-21 12:18:09 UTC (rev 4501) @@ -1684,7 +1684,7 @@ /// If this Session is being Finalized (<c>isDisposing==false</c>) then make sure not /// to call any methods that could potentially bring this Session back to life. /// </remarks> - protected void Dispose(bool isDisposing) + private void Dispose(bool isDisposing) { using (new SessionIdLoggingContext(SessionId)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |