Permalink
Browse files

BasicCollectionJoinWalker.cs: Remove protected GetJoinType() which ap…

…pears to be completely unused, nor does it override anything.
  • Loading branch information...
1 parent f2cb250 commit 1d04770ad2e2eba89475e88e52164edd057d7c04 @oskarb oskarb committed May 17, 2012
Showing with 0 additions and 15 deletions.
  1. +0 −15 src/NHibernate/Loader/Collection/BasicCollectionJoinWalker.cs
@@ -86,21 +86,6 @@ private void InitStatementString(string alias, int batchSize, SqlString subquery
SqlString = select.ToSqlString();
}
- /// <summary>
- /// We can use an inner join for first many-to-many association
- /// </summary>
- protected JoinType GetJoinType(IAssociationType type, FetchMode config, String path, ISet visitedAssociations,
- string lhsTable, string[] lhsColumns, bool nullable, int currentDepth)
- {
- JoinType joinType = base.GetJoinType(type, config, path, lhsTable, lhsColumns, nullable, currentDepth, null);
-
- //we can use an inner join for the many-to-many
- if (joinType == JoinType.LeftOuterJoin && string.Empty.Equals(path))
- {
- joinType = JoinType.InnerJoin;
- }
- return joinType;
- }
public override string ToString()
{

0 comments on commit 1d04770

Please sign in to comment.